This commit is contained in:
vis2k 2018-12-30 22:08:20 +01:00
parent 39098090b6
commit 418fc02b3f

View File

@ -985,10 +985,11 @@ static void UnSpawnObject(GameObject obj)
} }
NetworkIdentity identity; NetworkIdentity identity;
if (!GetNetworkIdentity(obj, out identity)) return; if (GetNetworkIdentity(obj, out identity))
{
UnSpawnObject(identity); UnSpawnObject(identity);
} }
}
static void UnSpawnObject(NetworkIdentity identity) static void UnSpawnObject(NetworkIdentity identity)
{ {