diff options
author | nokoe <nokoe@mailbox.org> | 2024-08-06 21:56:31 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-08-06 21:56:31 +0200 |
commit | b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750 (patch) | |
tree | 38b088d95b2f3f27cb0cc6fd1620c178e2fd3f01 /client/player/controllable_player.gd | |
parent | 0f91dc28ea4af3e6eb176027e79bf2d1e39111a8 (diff) | |
download | hurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar hurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar.bz2 hurrycurry-b7d8c93d7c9fb2d4e192e8cd6fb0c06178407750.tar.zst |
send position with 50 Hz
Diffstat (limited to 'client/player/controllable_player.gd')
-rw-r--r-- | client/player/controllable_player.gd | 2 |
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(): |