This commit is contained in:
Mutzi 2024-03-24 09:20:36 +01:00
parent f8c7b38678
commit 7a9a5170ed
Signed by: root
GPG Key ID: 2437494E09F13876
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@ ClassPrefix=""
[application]
config/name="Hellswipers"
config/version="1.2.0"
config/version="1.2.1"
run/main_scene="res://main_menu/main_menu.tscn"
config/features=PackedStringArray("4.2", "C#", "Mobile")
boot_splash/show_image=false

View File

@ -23,7 +23,7 @@ public partial class Game {
);
}
public override void _UnhandledInput(InputEvent ev) {
public override void _Input(InputEvent ev) {
if (ev is InputEventMouseButton evm) {
if (ev.IsPressed())
_swipeStart = evm.Position;
@ -42,5 +42,4 @@ public partial class Game {
GetTree().ChangeSceneToPacked(ResourceLoader.Load<PackedScene>("res://main_menu/main_menu.tscn"));
}
}
}