mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
Fixes a runtime on eye removal (#87475)
## About The Pull Request Fixes https://github.com/tgstation/tgstation/issues/87474 ## Why It's Good For The Game Being unable to remove eyes if there is scarring is bad. ## Changelog 🆑 fix: Fixes a runtime when trying to remove someones scarred eyes. Now you can remove them! /🆑
This commit is contained in:
@@ -285,9 +285,9 @@
|
||||
/obj/item/organ/internal/eyes/on_mob_remove(mob/living/carbon/eye_owner)
|
||||
. = ..()
|
||||
if (scarring)
|
||||
owner.cure_nearsighted(TRAIT_RIGHT_EYE_SCAR)
|
||||
owner.cure_nearsighted(TRAIT_LEFT_EYE_SCAR)
|
||||
owner.cure_blind(EYE_SCARRING_TRAIT)
|
||||
eye_owner.cure_nearsighted(TRAIT_RIGHT_EYE_SCAR)
|
||||
eye_owner.cure_nearsighted(TRAIT_LEFT_EYE_SCAR)
|
||||
eye_owner.cure_blind(EYE_SCARRING_TRAIT)
|
||||
|
||||
#undef OFFSET_X
|
||||
#undef OFFSET_Y
|
||||
|
||||
Reference in New Issue
Block a user