Check on possessionlocation being empty besides just null

This commit is contained in:
Pascal Serrarens 2023-10-30 11:06:36 +01:00
parent 65aad9159e
commit 46da2dfe1b

View File

@ -287,7 +287,7 @@ namespace Passer.Humanoid {
return;
}
#else
if (msg.possessionLocation != null) {
if (string.IsNullOrEmpty(msg.possessionLocation)) {
Debug.Log("Need to download instantiate avatar possession from " + msg.possessionLocation);
remoteHumanoid.physics = msg.physics;