From 280ec83e8a496c74ab4cbfcb7ae67c076638baba Mon Sep 17 00:00:00 2001 From: vaporvee Date: Sun, 27 Nov 2022 17:33:33 +0100 Subject: [PATCH] now replacel currentController == null with "PC" --- src/main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cs b/src/main.cs index 445714b..a1b497e 100644 --- a/src/main.cs +++ b/src/main.cs @@ -14,7 +14,7 @@ public partial class main : Node2D { //CHANGE INPUT FOR NINTENDO CONTROLLER //Checks if using Keyboard or controller and giving out current controller - if(Input.IsMouseButtonPressed(MouseButton.Left) || Input.IsMouseButtonPressed(MouseButton.Right))//this is a terrible way of doing this will be reworked + if(Input.IsMouseButtonPressed(MouseButton.Left) || currentController == null)//this is a terrible way of doing this will be reworked { currentController = "PC"; }