added comment

This commit is contained in:
2022-11-28 19:52:42 +01:00
parent 848c76b223
commit dbb515ac49

View File

@@ -8,6 +8,7 @@ public partial class essential : Node
public override void _Input(InputEvent @event)
{
//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 == "")
currentController = "PC";
if (@event is InputEventJoypadButton)