mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
15 lines
348 B
Plaintext
15 lines
348 B
Plaintext
/mob/recalculate_vis()
|
|
. = ..()
|
|
if(!plane_holder || !vis_enabled)
|
|
return
|
|
|
|
if(vantag_hud)
|
|
if(!(VIS_CH_VANTAG in vis_enabled))
|
|
plane_holder.set_vis(VIS_CH_VANTAG,TRUE)
|
|
vis_enabled += VIS_CH_VANTAG
|
|
else
|
|
if(VIS_CH_VANTAG in vis_enabled)
|
|
plane_holder.set_vis(VIS_CH_VANTAG,FALSE)
|
|
vis_enabled -= VIS_CH_VANTAG
|
|
return
|