replaces ". = ..()" parent calls with "return ..()" where applicable without changing surrounding code. Forces some abnormality procs to be called by children #1527
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About The Pull Request
changes ". = ..()" calls for "return ..()" where it can be changed without affecting surrounding code
forces initialize(), destroy(), life(), WorkComplete() and GiftUser() to be called by an abnormality if they implement custom code
i would have also forced people to call FearEffect() but meat lantern requires to not call parent to be stealthy
Why It's Good For The
GameCodebasejuuuuuuuust in case contributors forget to call . = ..() on some procs and have to spend time diagonising the issue, this makes it a lil bit faster to show up
Changelog
🆑
code: some . = ..() calls were replaced with return ..()
code: abnormalities are now required to call certain proc's
/:cl: