diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index f1a3b4c..9491555 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -639,7 +639,7 @@ def step(self, action): state = io.BytesIO() self.pyboy.save_state(state) state.seek(0) - info["state"] = {hash(required_events): state.read()} + info["state"] = {hash("".join(required_events)): state.read()} info["required_events_count"] = len(required_events) info["env_id"] = self.env_id info = info | self.agent_stats(action)