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

@@ -101,7 +101,7 @@ public class GameHandler : NetworkBehaviour
[ServerRpc]
private void SpawnCountdownServerRpc(ServerRpcParams serverRpcParams = default) {
_countdownUI = Instantiate(coundownUI, Vector3.zero, Quaternion.identity).gameObject;
_countdownUI.GetComponent<NetworkObject>().Spawn();
_countdownUI.GetComponent<NetworkObject>().Spawn(null, true);
}
[ServerRpc]