Genitals update fix (again)

Added if to have the genital check if the owner exists when trying to update (skips the inventory update if not and updates the rest, so the body displays and updates correctly even if they are nude)
This commit is contained in:
Alphas00
2024-01-23 22:33:57 +01:00
parent 5ba25c0db6
commit a5fd5ac0bc
@@ -46,7 +46,8 @@
update_size()
update_appearance()
update_link()
owner.update_inv_w_uniform() //GS13: rebuild overlays on genitals appearance update, for modular clothes
if(owner)//GS13: rebuild overlays on genitals appearance update, for modular clothes
owner.update_inv_w_uniform()
//exposure and through-clothing code
/mob/living/carbon