aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-08-06 21:56:31 +0200
committernokoe <nokoe@mailbox.org>2024-08-06 21:56:31 +0200
commitb7d8c93d7c9fb2d4e192e8cd6fb0c06178407750 (patch)
tree38b088d95b2f3f27cb0cc6fd1620c178e2fd3f01 /client
parent0f91dc28ea4af3e6eb176027e79bf2d1e39111a8 (diff)
downloadhurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar
hurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar.bz2
hurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar.zst
send position with 50 Hz
Diffstat (limited to 'client')
-rw-r--r--client/player/controllable_player.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd
index 2418cd5f..79c73246 100644
--- a/client/player/controllable_player.gd
+++ b/client/player/controllable_player.gd
@@ -38,7 +38,7 @@ var target: Vector2i = Vector2i(0, 0)
func _ready():
var timer = Timer.new()
timer.one_shot = false
- timer.wait_time = 1. / 25.
+ timer.wait_time = 1. / 50.
add_child(timer)
timer.start()
timer.connect("timeout", func():