Resyncing netlobby if starting a shift fails (-> autorestart timer resets also at the clients' end)
This commit is contained in:
@@ -956,6 +956,8 @@ namespace Barotrauma.Networking
|
|||||||
if (autoRestart) AutoRestartTimer = Math.Max(AutoRestartInterval, 5.0f);
|
if (autoRestart) AutoRestartTimer = Math.Max(AutoRestartInterval, 5.0f);
|
||||||
GameMain.NetLobbyScreen.StartButton.Enabled = true;
|
GameMain.NetLobbyScreen.StartButton.Enabled = true;
|
||||||
|
|
||||||
|
UpdateNetLobby(null, null);
|
||||||
|
|
||||||
couldNotStart = true;
|
couldNotStart = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user