Skip to content

Commit cfd67af

Browse files
silasaryFarisTheAncient
authored andcommitted
Don't regen if the world returns False from interpret_slot_data (#2)
1 parent 1a0edc4 commit cfd67af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/tracker/TrackerClient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def on_package(self, cmd: str, args: dict):
214214

215215
if callable(getattr(self.multiworld.worlds[self.player_id], "interpret_slot_data", None)):
216216
temp = self.multiworld.worlds[self.player_id].interpret_slot_data(args["slot_data"])
217-
if temp is not None:
217+
if temp:
218218
self.re_gen_passthrough = {self.game: temp}
219219
self.run_generator()
220220

0 commit comments

Comments
 (0)