Skip to content

Commit

Permalink
Fixed console flags window
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Apr 17, 2024
1 parent 6160592 commit 13ae5fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/ui/Console.hx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +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.horizontalAlign = Fill;
w.verticalAlign = End;
w.makeTransparent();
w.addButton("Disable all", false, ()->{
for(f in allFlags)
if( hasFlag(f.value) )
Expand Down

0 comments on commit 13ae5fa

Please sign in to comment.