move invisibility to defines (#17612)

* move Invisibility to defines

* .

* .
This commit is contained in:
Kashargul
2025-04-27 16:47:53 +02:00
committed by GitHub
parent 58b214f1b3
commit f6a99359a9
92 changed files with 150 additions and 143 deletions
+1 -1
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()