|
@ -123,6 +123,7 @@ namespace Networking.Client |
|
|
public void OnDisconnect(NetworkMessage msg) |
|
|
public void OnDisconnect(NetworkMessage msg) |
|
|
{ |
|
|
{ |
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(DisconnectScene); |
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(DisconnectScene); |
|
|
|
|
|
ConnectedClients.Reset(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void UpdateTime(NetworkMessage msg) |
|
|
public void UpdateTime(NetworkMessage msg) |
|
@ -132,6 +133,7 @@ namespace Networking.Client |
|
|
return; |
|
|
return; |
|
|
|
|
|
|
|
|
RoundTime = floatMsg.Float; |
|
|
RoundTime = floatMsg.Float; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void UpdateScore(NetworkMessage msg) |
|
|
public void UpdateScore(NetworkMessage msg) |
|
|