From 7644a1a3c163ea25f4b43ea5032ff21459af6e67 Mon Sep 17 00:00:00 2001 From: RetroFriends Date: Mon, 15 Feb 2021 18:05:43 -0500 Subject: [PATCH] Fix to bindables list without type --- scripts/ICUI/ICUI.gml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/ICUI/ICUI.gml b/scripts/ICUI/ICUI.gml index 28b0381..5d09c3e 100644 --- a/scripts/ICUI/ICUI.gml +++ b/scripts/ICUI/ICUI.gml @@ -1725,10 +1725,10 @@ function ICUI_Draw_input_binding_choice_pick() { if ( action.is_directional ) { bindables[array_length(bindables)]={ code: IC_dpad, name:"D-Pad" }; if ( device != none ) { - if ( device.hat_count > 0 ) bindables[array_length(bindables)]={ code: IC_hat0, name: "Hat0" }; - for ( var j=1; j 0 ) bindables[array_length(bindables)]={ code: IC_axis0, name: "Axis0" }; - for ( var j=2; j 0 ) bindables[array_length(bindables)]={ type: ICDeviceType_gamepad, code: IC_hat0, name: "Hat0" }; + for ( var j=1; j 0 ) bindables[array_length(bindables)]={ type: ICDeviceType_gamepad, code: IC_axis0, name: "Axis0" }; + for ( var j=2; j