mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-15 18:06:48 +01:00
isopenturf() macro, update_above improvements (#2931)
changes: Added a isopenturf() macro, equivalent to istype(thing, /turf/simulated/open). Converted most/all instances of istype(/turf/simulated/open) to isopenturf(). Made update_above()' aware of queue status & inlined a proc-call.
This commit is contained in:
@@ -425,7 +425,7 @@ var/global/movement_disabled_exception //This is the client that calls the proc,
|
||||
|
||||
for(var/obj/machinery/door/airlock/A in machines)
|
||||
var/turf/T = get_turf(A)
|
||||
if(istype(T, /turf/space) || istype(T, /turf/simulated/floor/asteroid) || istype(T, /turf/simulated/open) || T.density)
|
||||
if(istype(T, /turf/space) || istype(T, /turf/simulated/floor/asteroid) || isopenturf(T) || T.density)
|
||||
usr << "Airlock [A] with bad turf at ([A.x],[A.y],[A.z]) in [T.loc]."
|
||||
|
||||
/client/proc/get_bad_fdoors()
|
||||
|
||||
Reference in New Issue
Block a user