Adjusts the handling of the disconnect call to not utilize package overrides, but instead a callOnModules invoke like most other cross-module calls.

This allows the editor to issue a disconnect call properly again.
This commit is contained in:
JeffR 2025-04-22 18:20:12 -05:00
parent 28c8690d72
commit 7b7de1f10f
3 changed files with 14 additions and 38 deletions

View file

@ -111,8 +111,12 @@ function handleConnectionErrorMessage(%msgType, %msgString, %msgError)
//-----------------------------------------------------------------------------
// Disconnect
//-----------------------------------------------------------------------------
function disconnect()
{
callOnModules("disconnect");
}
function Core_ClientServer::disconnect(%this)
{
// We need to stop the client side simulation
// else physics resources will not cleanup properly.