Skip to content

Commit

Permalink
fix that set
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Jul 8, 2024
1 parent 4eb8233 commit 3a0175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a0175a

Please sign in to comment.