- AI equips a diving suit before going out
- placing a firesource outside any hull won't crash the game - scrollbars aren't gray - fixed client crashing if in the lobby when a round ends - fixed password box crashing
This commit is contained in:
@@ -595,12 +595,12 @@ namespace Barotrauma.Networking
|
||||
|
||||
public IEnumerable<object> EndGame(string endMessage)
|
||||
{
|
||||
GameMain.GameSession.gameMode.End(endMessage);
|
||||
if (!gameStarted) yield return CoroutineStatus.Success;
|
||||
|
||||
GameMain.GameSession.gameMode.End(endMessage);
|
||||
|
||||
//var messageBox = new GUIMessageBox("The round has ended", endMessage, 400, 300);
|
||||
|
||||
if (!gameStarted) yield return CoroutineStatus.Success;
|
||||
gameStarted = false;
|
||||
|
||||
Character.Controlled = null;
|
||||
|
||||
Reference in New Issue
Block a user