Skip to content

Commit

Permalink
Don't regen if the world returns False from interpret_slot_data (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
silasary authored Apr 5, 2024
1 parent 3afb168 commit 35a49bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/tracker/TrackerClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def on_package(self, cmd: str, args: dict):

if callable(getattr(self.multiworld.worlds[self.player_id], "interpret_slot_data", None)):
temp = self.multiworld.worlds[self.player_id].interpret_slot_data(args["slot_data"])
if temp is not None:
if temp:
self.re_gen_passthrough = {self.game: temp}
self.run_generator()

Expand Down

0 comments on commit 35a49bc

Please sign in to comment.