summaryrefslogtreecommitdiff
path: root/Player.cs
diff options
context:
space:
mode:
authoralex <[email protected]>2026-08-08 03:57:01 +0200
committeralex <[email protected]>2026-08-08 03:57:01 +0200
commit0c5df1e068ff8865545b7e1b3629377089c8b965 (patch)
tree67849c9148a238702f89efb11f95893a162560fd /Player.cs
parenta6e7c49a162ada8ec0883fccb1da7313b03ba2ec (diff)
downloadgodot-testing-0c5df1e068ff8865545b7e1b3629377089c8b965.tar.xz
godot-testing-0c5df1e068ff8865545b7e1b3629377089c8b965.zip
zabdol som ze co
Diffstat (limited to 'Player.cs')
-rw-r--r--Player.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Player.cs b/Player.cs
index 8b6c7ff..3f49d2a 100644
--- a/Player.cs
+++ b/Player.cs
@@ -18,7 +18,7 @@ public partial class Player : CharacterBody2D, IDamageable
public override void _PhysicsProcess(double delta)
{
- Vector2 direction = Input.GetVector("ui_left", "ui_right", "ui_up", "ui_down");
+ Vector2 direction = Input.GetVector("left", "right", "up", "down");
Velocity = direction * _stats.RuntimeStats.MoveSpeed;
MoveAndSlide();
}