fix: oops initialize the field
This commit is contained in:
parent
caeb5215cc
commit
f0a4fe9872
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue