From 3b2651c0ab80b1b3fa358a7bcae8e2fe61a15959 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Wed, 2 Apr 2025 17:40:37 -0500 Subject: [PATCH] typofix for bad %client.spawnDataBlock filtering --- .../core/clientServer/scripts/server/connectionToClient.tscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript b/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript index ec14ce358..b804ac046 100644 --- a/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript +++ b/Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript @@ -144,7 +144,7 @@ function GameConnectionListener::onSetSpawnObjectTypeComplete( %this, %client ) // a new one could result in an uncontrolled player object. 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 ); %client.setSpawnPoint();