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

Fix Bionic Lighter power usage #35580

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

anothersimulacrum
Copy link
Member

SUMMARY: None

Purpose of change

Resolves all but issue 2 from #35578

Describe the solution

Move the code to restore power into the branch that occurs when lighting a fire failed instead of the branch where it succeeded.
Also, rename the CBM.

Describe alternatives you've considered

Also fixing the third issue.

Testing

Spawned as a bionic prepper, then used the lighter.

The bionic lighter was taking power from the player, then restoring it
when they successful lit something. This moves the code to restore the
power to happen if lighting the fire failed.

Also, the name for the cbm item was incorrect.
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