Fixed a runtime where a nullcheck was not present (#19666)

Fixed a runtime where a nullcheck was not present, possibly slightly
sped up the proc too
This commit is contained in:
Fluffy
2024-07-25 13:11:53 +00:00
committed by GitHub
parent 5f1c34269f
commit 2e9e4a0c57
2 changed files with 59 additions and 2 deletions
@@ -397,8 +397,7 @@ There are several things that need to be remembered:
SSicon_cache.human_icon_cache[icon_key] = base_icon
for(var/thing in organs)
var/obj/item/organ/external/part = thing
for(var/obj/item/organ/external/part in organs)
part.cut_additional_images(src)
var/list/add_images = part.get_additional_images(src)
if(add_images)