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

Fixes none dropping #35504

Merged
merged 1 commit into from
Nov 13, 2019
Merged

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fixes none dropping upon damage when limbs are broken"

Purpose of change

Fixes #35501

Describe the solution

Check that weaponis not null before dropping it

Describe alternatives you've considered

Testing

Load save from #35501
Get damaged
Drop none
Start new world
Break both arms
Get damage
Drop none
Aplly fix
Repeat first steps
Don't drop none

Additional context

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Melee Melee weapons, tactics, techniques, reach attack labels Nov 13, 2019
@ZhilkinSerg ZhilkinSerg merged commit 1baef90 into CleverRaven:master Nov 13, 2019
@Fris0uman Fris0uman deleted the stop_spilling_ur_nones branch April 28, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Melee Melee weapons, tactics, techniques, reach attack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropping many "none" objects whenever damage is taken, after failing bionic install
2 participants