Skip to content

Commit

Permalink
Fix logic negation
Browse files Browse the repository at this point in the history
  • Loading branch information
steve1316 committed Jan 14, 2023
1 parent db9083f commit 0ad22e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/backend/bot/game_modes/guild_wars.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _farm_meat(locations: List[Tuple[int, ...]]):
# If there is not enough meat to host, host Extreme+ instead.
MessageLog.print_message(f"\n[GUILD.WARS] User lacks meat to host the Nightmare. Hosting Extreme+ instead...")

if Game.find_and_click_button("close") or Game.find_and_click_button("cancel"):
if Game.find_and_click_button("close") is False or Game.find_and_click_button("cancel") is False:
GuildWarsException("Failed to close popup in order to get back to the list of Guild War raids.")

# Click on the banner to farm meat.
Expand Down

0 comments on commit 0ad22e7

Please sign in to comment.