mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
Removes some old entity/component code from the level load process that isn't used anymore
This commit is contained in:
parent
c92a88a852
commit
aa3d51c3cc
1 changed files with 0 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue