Ver Fonte

Merge pull request #1195 from Areloch/oldECCodeCleanup

Removes some old entity/component code from the level load process that isn't used anymore
Brian Roberts há 1 ano atrás
pai
commit
a673501330

+ 0 - 18
Templates/BaseGame/game/core/clientServer/scripts/server/levelDownload.tscript

@@ -177,24 +177,6 @@ function serverCmdMissionStartPhase3Ack(%client, %seq)
 
    %client.currentPhase = 3;
    
-   // Server is ready to drop into the game
-   %entityIds = parseMissionGroupForIds("Entity", "");
-   %entityCount = getWordCount(%entityIds);
-   
-   for(%i=0; %i < %entityCount; %i++)
-   {
-      %entity = getWord(%entityIds, %i);
-      
-      for(%e=0; %e < %entity.getCount(); %e++)
-      {
-         %child = %entity.getObject(%e);
-         if(%child.getCLassName() $= "Entity")
-            %entityIds = %entityIds SPC %child.getID();  
-      }
-      
-      %entity.notify("onClientConnect", %client);
-   }
-   
    %hasGameMode = callGamemodeFunction("onClientEnterGame", %client);
    
    //if that also failed, just spawn a camera