mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
[NO GBP] Fixes scar overlays on eyes going out of sprite bounds (#89609)
## About The Pull Request Forgot about this flag and couldn't bother fixing it for a while. ## Changelog 🆑 fix: Fixed scar overlays on eyes going out of sprite bounds /🆑
This commit is contained in:
@@ -286,9 +286,15 @@
|
||||
/obj/item/organ/eyes/update_overlays()
|
||||
. = ..()
|
||||
if (scarring & RIGHT_EYE_SCAR)
|
||||
. += mutable_appearance('icons/obj/medical/organs/organs.dmi', "eye_scar_right")
|
||||
var/mutable_appearance/right_scar = mutable_appearance('icons/obj/medical/organs/organs.dmi', "eye_scar_right")
|
||||
right_scar.blend_mode = BLEND_INSET_OVERLAY
|
||||
. += right_scar
|
||||
|
||||
if (scarring & LEFT_EYE_SCAR)
|
||||
. += mutable_appearance('icons/obj/medical/organs/organs.dmi', "eye_scar_left")
|
||||
var/mutable_appearance/left_scar = mutable_appearance('icons/obj/medical/organs/organs.dmi', "eye_scar_left")
|
||||
left_scar.blend_mode = BLEND_INSET_OVERLAY
|
||||
. += left_scar
|
||||
|
||||
if (iris_overlays && eye_color_left && eye_color_right)
|
||||
var/mutable_appearance/left_iris = mutable_appearance(icon, "[icon_state]_iris_l")
|
||||
var/mutable_appearance/right_iris = mutable_appearance(icon, "[icon_state]_iris_r")
|
||||
|
||||
Reference in New Issue
Block a user