diff --git a/pettingzoo/classic/tictactoe/tictactoe.py b/pettingzoo/classic/tictactoe/tictactoe.py index e3c219c5a..f38951cdd 100644 --- a/pettingzoo/classic/tictactoe/tictactoe.py +++ b/pettingzoo/classic/tictactoe/tictactoe.py @@ -226,7 +226,7 @@ def reset(self, seed=None, options=None): self.truncations = {i: False for i in self.agents} self.infos = {i: {} for i in self.agents} # selects the first agent - self._agent_selector.reinit(self.agents) + self._agent_selector.reinit(self.possible_agents) self.agent_selection = self._agent_selector.reset() if self.render_mode is not None and self.screen is None: