Skip to content

Commit

Permalink
this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jul 25, 2024
1 parent 451830d commit 403726d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion source/game/Button.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class Button extends FlxSprite {

this.clickCallback = clickCallback;
loadGraphic(Paths.image(file));
scale.set(0.3, 0.3);
}

override function update(elapsed:Float) {
Expand Down
2 changes: 1 addition & 1 deletion source/states/MenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class MenuState extends FlxState {
if (FlxG.keys.justPressed.UP || FlxG.keys.justPressed.DOWN)
changeSelection(FlxG.keys.justPressed.UP ? -1 : 1);

if (FlxG.kes.justPressed.ENTER) {
if (FlxG.keys.justPressed.ENTER) {
switch (curSelected) {
case 0:
FlxG.switchState(PlayState.new);
Expand Down

0 comments on commit 403726d

Please sign in to comment.