get rid of overworld opt
@@ -162,7 +162,7 @@ class MessengerManager():
)
return
- def _overworld_function(opt, agent_id, task_id):
+ def _overworld_function(agent_id, task_id):
"""Wrapper function for maintaining an overworld"""
agent_state = self._get_agent_state(agent_id)
agent = agent_state.get_overworld_agent()
@@ -185,7 +185,7 @@ class MessengerManager():
# Start the onboarding thread and run it
overworld_thread = threading.Thread(
target=_overworld_function,
- args=(self.opt, agent_id, task_id),
+ args=(agent_id, task_id),
name=task_id
)
overworld_thread.daemon = True
