diff --git a/source/funkin/input/PreciseInputManager.hx b/source/funkin/input/PreciseInputManager.hx index 1dfa7ac95..ade45b6f0 100644 --- a/source/funkin/input/PreciseInputManager.hx +++ b/source/funkin/input/PreciseInputManager.hx @@ -163,7 +163,7 @@ class PreciseInputManager extends FlxKeyManager static function getPreventDefaultKeys():Array { - return []; + return FlxG.keys.preventDefaultKeys; } /** diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 9b205c432..f5d139fa2 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -1773,7 +1773,6 @@ class PlayState extends MusicBeatSubState function initPreciseInputs():Void { - FlxG.keys.preventDefaultKeys = []; PreciseInputManager.instance.onInputPressed.add(onKeyPress); PreciseInputManager.instance.onInputReleased.add(onKeyRelease); }