mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00: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:
@@ -342,7 +342,7 @@
|
||||
|
||||
turfs += T
|
||||
|
||||
if (istype(T, /turf/simulated/open) && T:below)
|
||||
if (isopenturf(T) && T:below)
|
||||
T = T:below // Consider the turf below us as well. (Z-lights)
|
||||
goto check_t
|
||||
|
||||
|
||||
Reference in New Issue
Block a user