mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
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:
@@ -11,7 +11,9 @@ public class Goo : MonoBehaviour
|
||||
void FixedUpdate() {
|
||||
Lifetime++;
|
||||
if(Lifetime == 850) {
|
||||
DespawnMyselfServerRPC();
|
||||
if (NetworkManager.Singleton.IsServer) {
|
||||
DespawnMyselfServerRPC();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user