Faction Test 100.8.0.0
This commit is contained in:
@@ -742,8 +742,7 @@ namespace Barotrauma
|
||||
|
||||
if (Screen.Selected == null) { return "menu".ToIdentifier(); }
|
||||
|
||||
if ((Screen.Selected?.IsEditor ?? false)
|
||||
|| (Screen.Selected == GameMain.NetLobbyScreen))
|
||||
if (Screen.Selected is { IsEditor: true } || GameMain.GameSession?.GameMode is TestGameMode || Screen.Selected == GameMain.NetLobbyScreen)
|
||||
{
|
||||
return "editor".ToIdentifier();
|
||||
}
|
||||
@@ -853,7 +852,7 @@ namespace Barotrauma
|
||||
{
|
||||
return "levelend".ToIdentifier();
|
||||
}
|
||||
if (GameMain.GameSession.RoundDuration > 120.0 &&
|
||||
if (GameMain.GameSession.RoundDuration < 120.0 &&
|
||||
Level.Loaded?.Type == LevelData.LevelType.LocationConnection)
|
||||
{
|
||||
return "start".ToIdentifier();
|
||||
|
||||
Reference in New Issue
Block a user