FIXED up bullshit
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
package;
|
||||
|
||||
import Controls.Control;
|
||||
import flixel.FlxG;
|
||||
import flixel.FlxSprite;
|
||||
import flixel.FlxSubState;
|
||||
import flixel.input.keyboard.FlxKey;
|
||||
import flixel.util.FlxColor;
|
||||
|
||||
class PauseSubState extends FlxSubState
|
||||
@ -20,6 +22,11 @@ class PauseSubState extends FlxSubState
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
if (FlxG.keys.justPressed.J)
|
||||
{
|
||||
PlayerSettings.player1.controls.replaceBinding(Control.LEFT, Keys, FlxKey.J, null);
|
||||
}
|
||||
|
||||
if (FlxG.keys.justPressed.ENTER)
|
||||
close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user