diff --git a/tutorials/EnvironmentCreation/2-AddingGameLogic.py b/tutorials/EnvironmentCreation/2-AddingGameLogic.py index 812ec194a..8ed646f0f 100644 --- a/tutorials/EnvironmentCreation/2-AddingGameLogic.py +++ b/tutorials/EnvironmentCreation/2-AddingGameLogic.py @@ -81,6 +81,7 @@ def step(self, actions): if self.timestep > 100: rewards = {"prisoner": 0, "guard": 0} truncations = {"prisoner": True, "guard": True} + self.agents = [] self.timestep += 1 # Get observations