Files
Bubberstation/code/modules/surgery
SkyratBot 1088153bc4 [MIRROR] [GBP: NO UPDATE] Fixes a bug where update_inefficiencies() would call update_wounds() and cause gauze to fall off on promotion/demotion of wound [MDB IGNORE] (#23822)
* [GBP: NO UPDATE] Fixes a bug where update_inefficiencies() would call update_wounds() and cause gauze to fall off on promotion/demotion of wound (#78398)

## About The Pull Request

Title.
## Why It's Good For The Game

On some testing on a downstream, I found that demoting a wound to a
lower level via replace_wound caused gauze to fall off. Same thing
happened for promoting. I found the issue lied in the fact
update_inefficiencies always called update_wounds which didnt tell the
proc if a replacement was going on.
## Changelog
🆑
fix: Gauze no longer falls off if a wound is demoted or promoted
/🆑

* [GBP: NO UPDATE] Fixes a bug where update_inefficiencies() would call update_wounds() and cause gauze to fall off on promotion/demotion of wound

---------

Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com>
2023-09-20 12:59:45 -04:00
..