From 67fa20c946d7c806bac1142ca9e84b82e03925a4 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Sun, 27 Nov 2022 19:30:13 +0100 Subject: [PATCH] fixed button variables being the same --- src/main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cs b/src/main.cs index 9353d7f..f27d7f3 100644 --- a/src/main.cs +++ b/src/main.cs @@ -21,7 +21,7 @@ public partial class main : Node2D //CHANGE INPUT FOR NINTENDO CONTROLLER InputEventJoypadButton JoyButtonA = new InputEventJoypadButton() { ButtonIndex = JoyButton.A }; - InputEventJoypadButton JoyButtonB = new InputEventJoypadButton() { ButtonIndex = JoyButton.A }; + InputEventJoypadButton JoyButtonB = new InputEventJoypadButton() { ButtonIndex = JoyButton.B }; if (currentController.StartsWith("Nintendo")) { InputMap.ActionEraseEvent("ui_accept", JoyButtonA);