Skip to content

Commit

Permalink
Better flags disable button
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Apr 17, 2024
1 parent ac9e1e5 commit 1489784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/ui/Console.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1489784

Please sign in to comment.