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

Pit construction fix #31838

Merged
merged 2 commits into from Jun 26, 2019

Conversation

Projects
None yet
3 participants
@davidpwbrown
Copy link
Contributor

commented Jun 25, 2019

Summary

SUMMARY: Bugfixes "Pit construction fix"

Purpose of change

Fixes #31590

Describe the solution

Added a check for existing trap before placing a new partial_construction one.
If there is a situation witha partial_construction with no associated trap maker( such as with a pit construction) , then the iexamine code will pick that up and react accordingly.

Also changed the remove_trap() calls in complete_construction() so it dosnt try and disarm the pit, fail, and throw the player into it.

Describe alternatives you've considered

N/A

Additional context

N/A

davidpwbrown added some commits Jun 24, 2019

@kevingranade

This comment has been minimized.

Copy link
Member

commented Jun 25, 2019

This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/spike-trap-error/20524/4

@kevingranade kevingranade merged commit 609a6b8 into CleverRaven:master Jun 26, 2019

2 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
gorgon-ghprb Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.