diff --git a/source/funkin/input/TurboButtonHandler.hx b/source/funkin/input/TurboButtonHandler.hx index 0e569cde1..45786f8a7 100644 --- a/source/funkin/input/TurboButtonHandler.hx +++ b/source/funkin/input/TurboButtonHandler.hx @@ -55,6 +55,7 @@ class TurboButtonHandler extends FlxBasic function get_allPressed():Bool { if (targetGamepad == null) return false; + if (!targetGamepad.connected) return false; if (inputs == null || inputs.length == 0) return false; if (inputs.length == 1) return targetGamepad.anyPressed(inputs);