diff --git a/source/game/Button.hx b/source/game/Button.hx index e38888e..d53ed68 100644 --- a/source/game/Button.hx +++ b/source/game/Button.hx @@ -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) { diff --git a/source/states/MenuState.hx b/source/states/MenuState.hx index 0058bd4..af8247f 100644 --- a/source/states/MenuState.hx +++ b/source/states/MenuState.hx @@ -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);