Commit b632d7e5 by serfrape

await the spade setup

parent 91f19ae7
......@@ -22,7 +22,7 @@ class BDIAgent(Agent):
async def setup(self):
template = Template(metadata={"performative": "BDI"})
self.add_behaviour(self.BDIBehaviour(), template)
super().setup()
await super().setup()
def add_behaviour(self, behaviour, template=None):
if type(behaviour) == self.BDIBehaviour:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment