فهرست منبع

postSpawnComplete listener cleanup

AzaezelX 1 ماه پیش
والد
کامیت
229cc9709e
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript

+ 1 - 0
Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript

@@ -291,6 +291,7 @@ function GameConnectionListener::onPostSpawnComplete(%this, %client)
     if (%client.moduleLoadedDone < %client.numModsNeedingLoaded)
         return; //continue to wait 
         
+   %client.GetEventManager().remove( %client.listener, "postSpawnComplete" );
     //Continue on. Room for special handling here if needbe but not expressly required
 }