From 4e16a0a70356c6fd5b700b79e9c8043c4479251c Mon Sep 17 00:00:00 2001 From: Verkister Date: Fri, 24 Sep 2021 14:11:40 +0300 Subject: [PATCH] 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. --- code/modules/vore/eating/belly_obj_vr.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/vore/eating/belly_obj_vr.dm b/code/modules/vore/eating/belly_obj_vr.dm index 09df3a64e23..7f461a4a593 100644 --- a/code/modules/vore/eating/belly_obj_vr.dm +++ b/code/modules/vore/eating/belly_obj_vr.dm @@ -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