Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
@@ -352,7 +352,7 @@ namespace Barotrauma
|
||||
{
|
||||
Level.Loaded.DrawBack(graphics, spriteBatch, cam);
|
||||
}
|
||||
else if (GameMain.GameSession.GameMode is TestGameMode testMode)
|
||||
else if (GameMain.GameSession?.GameMode is TestGameMode testMode)
|
||||
{
|
||||
graphics.Clear(testMode.BackgroundParams.BackgroundColor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user