Fixed King Null Ref Errors

- Fixed KingPlace and KingMove Null Refs
- Changed the Networked Slime to isTrigger instead of solid
This commit is contained in:
2022-03-30 13:27:01 -05:00
parent f63ae476a0
commit 99fe74a8d9
9 changed files with 38 additions and 16 deletions

View File

@@ -11,7 +11,9 @@ public class Goo : MonoBehaviour
void FixedUpdate() {
Lifetime++;
if(Lifetime == 850) {
DespawnMyselfServerRPC();
if (NetworkManager.Singleton.IsServer) {
DespawnMyselfServerRPC();
}
}
}