Replace explicit z-level checks with defines
This commit is contained in:
committed by
CitadelStationBot
parent
48e0c47410
commit
0418ee4df6
@@ -63,7 +63,7 @@
|
||||
canSmoothWith += /turf/open/indestructible/clock_spawn_room //list overrides are a terrible thing
|
||||
. = ..()
|
||||
ratvar_act()
|
||||
if(z == ZLEVEL_CITYOFCOGS)
|
||||
if(is_reebe(z))
|
||||
resistance_flags |= INDESTRUCTIBLE
|
||||
|
||||
/obj/structure/lattice/clockwork/ratvar_act()
|
||||
@@ -120,7 +120,7 @@
|
||||
if(!mapload)
|
||||
new /obj/effect/temp_visual/ratvar/floor/catwalk(loc)
|
||||
new /obj/effect/temp_visual/ratvar/beam/catwalk(loc)
|
||||
if(z == ZLEVEL_CITYOFCOGS)
|
||||
if(is_reebe(z))
|
||||
resistance_flags |= INDESTRUCTIBLE
|
||||
|
||||
/obj/structure/lattice/catwalk/clockwork/ratvar_act()
|
||||
|
||||
Reference in New Issue
Block a user