From 82cd2fbf1d7987f04c99a9695b5111d942af7257 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 16 Mar 2023 16:32:07 +0100 Subject: [PATCH] fix: set _last_steer_vehicle --- src/treepuncher/game/world.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/treepuncher/game/world.py b/src/treepuncher/game/world.py index 3e969f1..e259477 100644 --- a/src/treepuncher/game/world.py +++ b/src/treepuncher/game/world.py @@ -66,6 +66,7 @@ class GameWorld(Scaffold): self.position.x, self.position.y, self.position.z ) if time() - self._last_steer_vehicle >= 5: + self._last_steer_vehicle = time() await self.dispatcher.write( PacketSteerVehicle( self.dispatcher.proto,