Makes belly overlays not apply on clientless mobs

This happening with each process cycle on every npc simplemob someone might be holding probably isn't all too healthy for performance.
This commit is contained in:
Verkister
2021-09-24 14:11:40 +03:00
committed by GitHub
parent 94e8087a6c
commit 4e16a0a703
+2
View File
@@ -244,6 +244,8 @@
/obj/belly/proc/vore_fx(mob/living/L)
if(!istype(L))
return
if(!L.client)
return
if(!L.show_vore_fx)
L.clear_fullscreen("belly")
return