[MIRROR] move invisibility to defines (#10787)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-27 11:53:07 -07:00
committed by GitHub
parent a01b8efc9e
commit 94940d84ab
107 changed files with 171 additions and 164 deletions

View File

@@ -10,7 +10,7 @@
plane = MOB_PLANE
layer = ABOVE_MOB_LAYER
density = TRUE
invisibility = 0
invisibility = INVISIBILITY_NONE
var/obj/machinery/power/shield_generator/gen = null // Owning generator
var/disabled_for = 0
var/diffused_for = 0

View File

@@ -24,7 +24,7 @@
//If underfloor, hide the cable^H^H diffuser
/obj/machinery/shield_diffuser/hide(var/i)
if(istype(loc, /turf))
invisibility = i ? 101 : 0
invisibility = i ? INVISIBILITY_ABSTRACT : INVISIBILITY_NONE
update_icon()
/obj/machinery/shield_diffuser/hides_under_flooring()