Compare commits

..

1 Commits
v1.2.0 ... main

Author SHA1 Message Date
7a9a5170ed
Fixed #4 2024-03-24 09:20:36 +01:00
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@ ClassPrefix=""
[application] [application]
config/name="Hellswipers" config/name="Hellswipers"
config/version="1.2.0" config/version="1.2.1"
run/main_scene="res://main_menu/main_menu.tscn" run/main_scene="res://main_menu/main_menu.tscn"
config/features=PackedStringArray("4.2", "C#", "Mobile") config/features=PackedStringArray("4.2", "C#", "Mobile")
boot_splash/show_image=false 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 is InputEventMouseButton evm) {
if (ev.IsPressed()) if (ev.IsPressed())
_swipeStart = evm.Position; _swipeStart = evm.Position;
@ -42,5 +42,4 @@ public partial class Game {
GetTree().ChangeSceneToPacked(ResourceLoader.Load<PackedScene>("res://main_menu/main_menu.tscn")); GetTree().ChangeSceneToPacked(ResourceLoader.Load<PackedScene>("res://main_menu/main_menu.tscn"));
} }
} }
} }