We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d59e6d commit 54f76b4Copy full SHA for 54f76b4
mesa/time.py
@@ -236,7 +236,7 @@ def add(self, agent: Agent) -> None:
236
agent: An Agent to be added to the schedule.
237
"""
238
239
- self._agents[agent.unique_id] = agent
+ super().add(agent)
240
agent_class: Type[Agent] = type(agent)
241
self.agents_by_type[agent_class][agent.unique_id] = agent
242
0 commit comments