mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
typofix for bad %client.spawnDataBlock filtering
This commit is contained in:
parent
f41cdaaa7e
commit
3b2651c0ab
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ function GameConnectionListener::onSetSpawnObjectTypeComplete( %this, %client )
|
||||||
// a new one could result in an uncontrolled player object.
|
// a new one could result in an uncontrolled player object.
|
||||||
error("Attempting to create a player for a client that already has one!");
|
error("Attempting to create a player for a client that already has one!");
|
||||||
}
|
}
|
||||||
if ((!isClass(%client.spawnClass)) || (!isClass(%client.spawnDBType)) || (!isObject(%client.spawnDBType)))
|
if ((!isClass(%client.spawnClass)) || (!isClass(%client.spawnDBType)) || (!isObject(%client.spawnDataBlock)))
|
||||||
%this.onSetSpawnObjectTypeFailed(%client, false );
|
%this.onSetSpawnObjectTypeFailed(%client, false );
|
||||||
|
|
||||||
%client.setSpawnPoint();
|
%client.setSpawnPoint();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue