diff --git a/project/code/TMV/Mission.cs b/project/code/TMV/Mission.cs index 37817c8..4d71061 100644 --- a/project/code/TMV/Mission.cs +++ b/project/code/TMV/Mission.cs @@ -87,7 +87,7 @@ public partial class Mission : Node3D } } - public override void _Input(InputEvent @event) + public override void _ShortcutInput(InputEvent @event) { if (@event is InputEventKey keyEvent && keyEvent.Pressed) { diff --git a/project/code/TMV/UI/ResourceSelector.cs b/project/code/TMV/UI/ResourceSelector.cs index 6c52ede..8fdaea4 100644 --- a/project/code/TMV/UI/ResourceSelector.cs +++ b/project/code/TMV/UI/ResourceSelector.cs @@ -40,7 +40,7 @@ public partial class ResourceSelector : Control _CancelButton.Pressed += () => Visible = false; } - public override void _Input(InputEvent @event) + public override void _UnhandledInput(InputEvent @event) { if (@event is InputEventKey keyEvent && keyEvent.Pressed) { diff --git a/project/code/camera.gd b/project/code/camera.gd index a57c9a3..0d4f97d 100644 --- a/project/code/camera.gd +++ b/project/code/camera.gd @@ -28,7 +28,7 @@ var _e = false var _shift = false var _alt = false -func _input(event): +func _unhandled_input(event): # Receives mouse motion if event is InputEventMouseMotion: _mouse_position = event.relative