Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plumber] Fix failures at Haunted Bedroom and Bat Hole #328

Merged
merged 2 commits into from
Apr 19, 2020

Conversation

jeparo
Copy link
Contributor

@jeparo jeparo commented Apr 19, 2020

Description

  • Haunted Bedroom was skipping the pre-adventure handler and so adventuring without equipping a plumber tool.

  • In Plumber runs, we were infinite-looping at the Bat Hole, trying to adventure in the Lair after defeating the Boss Bat-equivalent. This was because Mafia wasn't updating the quest tracking property when we beat the substitute boss in Plumber. I fixed this by visit_url-ing the Bat Hole after adventuring in the Boss Bat's zone. This is definitely an upstream Mafia bug, though. Ah well.

How Has This Been Tested?

Both were tested via observing the crash locally, re-running to confirm that the bug persisted through restarts, adding the change, and confirming that the bug disappeared. This should avoid a false positive, where the bug wasn't actually fixed by my code but I assumed it was because hey, it cleared up after I ran my code.

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have based by pull request against the beta branch or have a good reason not to.

Copy link
Contributor

@taltamir taltamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. please merge quickly. as these are both ongoing crashes

@jeparo jeparo merged commit 8161986 into loathers:beta Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants