aboutsummaryrefslogtreecommitdiff
path: root/client/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/player')
-rw-r--r--client/player/controllable_player.gd4
-rw-r--r--client/player/player.gd4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd
index c654c070..81315630 100644
--- a/client/player/controllable_player.gd
+++ b/client/player/controllable_player.gd
@@ -136,8 +136,8 @@ func aabb_point_distance(mi: Vector2, ma: Vector2, p: Vector2) -> float:
func update_position(_new_position: Vector2, _new_rotation: float, _new_boosting: bool):
pass
-func progress(p: float, warn: bool):
- super(p, warn)
+func progress(position__: float, speed: float, warn: bool):
+ super(position__, speed, warn)
Input.start_joy_vibration(0, 0.5, 0.1, 0.15)
func put_item(tile: Tile):
diff --git a/client/player/player.gd b/client/player/player.gd
index 43d7dd7f..17db85a9 100644
--- a/client/player/player.gd
+++ b/client/player/player.gd
@@ -107,9 +107,9 @@ func remove_item() -> Item:
character.holding = false
return i
-func progress(p: float, warn: bool):
+func progress(position__: float, speed: float, warn: bool):
if hand != null:
- hand.progress(p, warn)
+ hand.progress(position__, speed, warn)
func finish(warn: bool):
if hand != null: