issue wasn't existing forgot why it is that way

This commit is contained in:
2022-11-28 20:34:18 +01:00
parent dbb515ac49
commit f4e57aaaa5

View File

@@ -8,7 +8,6 @@ public partial class essential : Node
public override void _Input(InputEvent @event) public override void _Input(InputEvent @event)
{ {
//Checks if using Keyboard or controller and giving out current controller //Checks if using Keyboard or controller and giving out current controller
//Issue: Consuming first input for some reason
if (@event is InputEventKey || @event is InputEventMouseButton || currentController == "") if (@event is InputEventKey || @event is InputEventMouseButton || currentController == "")
currentController = "PC"; currentController = "PC";
if (@event is InputEventJoypadButton) if (@event is InputEventJoypadButton)