mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Merge pull request #5517 from Anewbe/hud_invis
Low alpha now makes HUDs and tooltips not show up on you
This commit is contained in:
@@ -52,6 +52,10 @@
|
||||
var/obj/screen/plane_master/PM = plane_masters[which]
|
||||
if(!PM)
|
||||
crash_with("Tried to alter [which] in plane_holder on [my_mob]!")
|
||||
|
||||
if(my_mob.alpha <= EFFECTIVE_INVIS)
|
||||
state = FALSE
|
||||
|
||||
PM.set_visibility(state)
|
||||
if(PM.sub_planes)
|
||||
var/list/subplanes = PM.sub_planes
|
||||
|
||||
Reference in New Issue
Block a user