From 229cc9709e533b17101647dd5c9c37c7f207d6a8 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 9 Aug 2025 19:35:06 -0500 Subject: [PATCH] postSpawnComplete listener cleanup --- .../core/clientServer/scripts/server/connectionToClient.tscript | 1 + 1 file changed, 1 insertion(+) diff --git a/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript b/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript index 7f6bb8885..e2661492d 100644 --- a/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript +++ b/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 }