Skip to content

Commit

Permalink
Booleans were difficult
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Aug 11, 2024
1 parent d091c26 commit 053e290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/undertale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def _get_undertale_data(self):
"no_equips": bool(self.options.no_equips.value),
"key_hunt": bool(self.options.key_hunt.value),
"key_pieces": int(self.options.key_pieces.value),
"rando_love": bool(self.options.rando_love and self.options.route_required != "genocide" and self.options.route_required != "all_routes"),
"rando_stats": bool(self.options.rando_stats and self.options.route_required != "genocide" and self.options.route_required != "all_routes"),
"rando_love": bool(self.options.rando_love and (self.options.route_required == "genocide" or self.options.route_required == "all_routes")),
"rando_stats": bool(self.options.rando_stats and (self.options.route_required == "genocide" or self.options.route_required == "all_routes")),
"prog_armor": bool(self.options.prog_armor.value),
"prog_weapons": bool(self.options.prog_weapons.value),
"rando_item_button": bool(self.options.rando_item_button.value),
Expand Down

0 comments on commit 053e290

Please sign in to comment.