(53c44ee8a) Disallow shooting and attacking when hovering over a GUIComponent + added guimessagebox command

This commit is contained in:
Joonas Rikkonen
2019-06-09 17:36:48 +03:00
parent aefa46eaa5
commit 85d19d7f3c
3 changed files with 34 additions and 1 deletions
@@ -1172,6 +1172,12 @@ namespace Barotrauma
if (args.Length == 0) return;
LocalizationCSVtoXML.Convert(args[0]);
}));
commands.Add(new Command("guimessagebox", "guimessagebox [msg] -> Creates a message box with the parameter as a message.", (string[] args) =>
{
if (args.Length == 0) return;
var dialog = new GUIMessageBox("Message box", args[0]);
}));
#endif
commands.Add(new Command("cleanbuild", "", (string[] args) =>