mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] move invisibility to defines (#10787)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a01b8efc9e
commit
94940d84ab
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user