mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-20 17:37:08 -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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user