diff --git a/src/game/ui/Console.hx b/src/game/ui/Console.hx index 44c599f..7238223 100644 --- a/src/game/ui/Console.hx +++ b/src/game/ui/Console.hx @@ -37,7 +37,7 @@ class Console extends h2d.Console { this.addCommand("flags", "Open the console flags window", [], function() { this.hide(); var w = new ui.win.SimpleMenu(); - w.addButton("Disable all", ()->{ + w.addButton("Disable all", false, ()->{ for(f in allFlags) if( hasFlag(f.value) ) setFlag(f.value, false);