Skip to content

Commit

Permalink
reverse & so == is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouramie committed Dec 9, 2024
1 parent 2f35551 commit ab6f9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/stardew_valley/options/forced_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def force_walnutsanity_deactivation_when_ginger_island_is_excluded(world_options

def force_qi_special_orders_deactivation_when_ginger_island_is_excluded(world_options: options.StardewValleyOptions, player: int, player_name: str):
ginger_island_is_excluded = world_options.exclude_ginger_island == options.ExcludeGingerIsland.option_true
qi_board_is_active = options.SpecialOrderLocations.value_qi & world_options.special_order_locations.value == options.SpecialOrderLocations.value_qi
qi_board_is_active = world_options.special_order_locations.value & options.SpecialOrderLocations.value_qi

if ginger_island_is_excluded and qi_board_is_active:
world_options.special_order_locations.value = world_options.special_order_locations.value ^ options.SpecialOrderLocations.value_qi
Expand Down

0 comments on commit ab6f9dd

Please sign in to comment.