mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
postSpawnComplete listener cleanup
This commit is contained in:
parent
2be21425df
commit
229cc9709e
1 changed files with 1 additions and 0 deletions
|
|
@ -291,6 +291,7 @@ function GameConnectionListener::onPostSpawnComplete(%this, %client)
|
||||||
if (%client.moduleLoadedDone < %client.numModsNeedingLoaded)
|
if (%client.moduleLoadedDone < %client.numModsNeedingLoaded)
|
||||||
return; //continue to wait
|
return; //continue to wait
|
||||||
|
|
||||||
|
%client.GetEventManager().remove( %client.listener, "postSpawnComplete" );
|
||||||
//Continue on. Room for special handling here if needbe but not expressly required
|
//Continue on. Room for special handling here if needbe but not expressly required
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue