Replace explicit z-level checks with defines

This commit is contained in:
Tad Hardesty
2017-12-29 11:40:06 -08:00
committed by CitadelStationBot
parent 48e0c47410
commit 0418ee4df6
96 changed files with 268 additions and 145 deletions
+1 -2
View File
@@ -63,7 +63,6 @@ GLOBAL_LIST_EMPTY(z_is_planet)
/obj/effect/mapping_helpers/planet_z/Initialize()
. = ..()
var/turf/T = get_turf(src)
if(!turf_z_is_planet(T))
GLOB.z_is_planet["[T.z]"] = list()
GLOB.z_is_planet["[T.z]"] = TRUE
return INITIALIZE_HINT_QDEL