From b43550cd705dd2705b3001eb09ef52f6f690ce2e Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:40:54 +0200 Subject: [PATCH] fix bellys prite toggling --- code/modules/mob/living/carbon/human/human_helpers.dm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_helpers.dm b/code/modules/mob/living/carbon/human/human_helpers.dm index 1b8a995754..dc6fce489e 100644 --- a/code/modules/mob/living/carbon/human/human_helpers.dm +++ b/code/modules/mob/living/carbon/human/human_helpers.dm @@ -172,10 +172,8 @@ var/list/compiled_vis = list() if(CE_DARKSIGHT in chem_effects) //Putting this near the beginning so it can be overwritten by equipment - plane_holder.set_vis(VIS_FULLBRIGHT,TRUE) compiled_vis += VIS_FULLBRIGHT else - plane_holder.set_vis(VIS_FULLBRIGHT,FALSE) compiled_vis -= VIS_FULLBRIGHT for(var/slot in slots) @@ -200,11 +198,9 @@ //VOREStation Add End //Vore Stomach addition start. This goes here. - if(stomach_vision && !(VIS_CH_STOMACH in vis_enabled)) - plane_holder.set_vis(VIS_CH_STOMACH,TRUE) + if(stomach_vision) compiled_vis += VIS_CH_STOMACH - else if(!stomach_vision && (VIS_CH_STOMACH in vis_enabled)) - plane_holder.set_vis(VIS_CH_STOMACH,FALSE) + else compiled_vis -= VIS_CH_STOMACH //Vore Stomach addition end