mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-25 16:15:39 -05:00
Possible Fix to Pause Menu Enable Desync
This commit is contained in:
parent
2a780ac346
commit
7515fc15d8
|
|
@ -26,9 +26,7 @@ public class Countdown : NetworkBehaviour {
|
|||
countdown_text.text = "1";
|
||||
yield return new WaitForSecondsRealtime(1f);
|
||||
countdown_text.text = "Go!";
|
||||
if (IsHost){
|
||||
EnablePauseMenuServerRPC();
|
||||
}
|
||||
EnablePauseMenuServerRPC();
|
||||
}
|
||||
[ServerRpc(RequireOwnership = false)]
|
||||
private void EnablePauseMenuServerRPC(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user