fix: oops initialize the field

This commit is contained in:
əlemi 2023-11-02 05:41:45 +01:00
parent caeb5215cc
commit f0a4fe9872
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -23,6 +23,7 @@ class GameWorld(Scaffold):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.world = World()
self.position = BlockPos(0, 0, 0) self.position = BlockPos(0, 0, 0)
self.vehicle_id = None self.vehicle_id = None
self._last_steer_vehicle = time() self._last_steer_vehicle = time()