controller crash fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user