This commit is contained in:
Chanumask
2023-12-01 11:51:15 +01:00
parent ab9fb8cd08
commit 24221f90d1
5 changed files with 8 additions and 5 deletions

View File

@ -152,7 +152,7 @@ class SpawnDestinationOnAgent(Rule):
"""
super().__init__()
def on_reset(self, state: Gamestate):
def on_reset(self, state):
state.print("Spawn Desitnations")
for agent in state[c.AGENT]:
destination = Destination(agent.pos, bind_to=agent)