This commit is contained in:
vis2k 2018-12-30 22:08:58 +01:00
parent 418fc02b3f
commit df7c66e4c7

View File

@ -1005,10 +1005,11 @@ static void DestroyObject(GameObject obj)
}
NetworkIdentity identity;
if (!GetNetworkIdentity(obj, out identity)) return;
if (GetNetworkIdentity(obj, out identity))
{
DestroyObject(identity, true);
}
}
static void DestroyObject(NetworkIdentity identity, bool destroyServerObject)
{