Crash reports & main menu show a "debug build" text in debug builds

This commit is contained in:
Joonas Rikkonen
2018-03-06 14:35:09 +02:00
parent 08ade1dc6f
commit 366d57b98d
2 changed files with 8 additions and 0 deletions
@@ -334,7 +334,11 @@ namespace Barotrauma
GUI.Draw((float)deltaTime, spriteBatch, null);
#if DEBUG
GUI.Font.DrawString(spriteBatch, "Barotrauma v" + GameMain.Version + " (debug build)", new Vector2(10, GameMain.GraphicsHeight - 20), Color.White);
#else
GUI.Font.DrawString(spriteBatch, "Barotrauma v" + GameMain.Version, new Vector2(10, GameMain.GraphicsHeight - 20), Color.White);
#endif
spriteBatch.End();
}