(8e4f5cb03) Add a disclaimer for switching from game to character editor.

This commit is contained in:
Joonas Rikkonen
2019-04-25 17:43:29 +03:00
parent 4e20fe871f
commit f4f87b454d
4 changed files with 70 additions and 2 deletions
@@ -394,6 +394,10 @@ namespace Barotrauma
commands.Add(new Command("charactereditor|editcharacter|editcharacters|editanimation|editanimations|animedit|animationeditor|animeditor|animationedit", "charactereditor: Edit characters, animations, ragdolls....", (string[] args) =>
{
if (Screen.Selected == GameMain.GameScreen)
{
NewMessage("WARNING: Switching between the character editor and the game view may cause odd behaviour or bugs. Use with caution.", Color.Orange);
}
GameMain.CharacterEditorScreen.Select();
}));