Multi-z fixes.

This commit is contained in:
SkyMarshal
2015-09-26 17:35:18 -07:00
parent 3178111fb9
commit 144dbebb2d
3 changed files with 4 additions and 5 deletions

View File

@@ -61,8 +61,7 @@
opacity = 0
anchored = 1
New()
. = ..()
initialize()
for(var/turf/turf in locs)
var/turf/simulated/open/above = GetAbove(turf)
if(!above)

View File

@@ -13,8 +13,9 @@
/turf/simulated/open/New()
. = ..()
ASSERT(HasBelow(z))
below = GetBelow(src)
spawn(1)
below = GetBelow(src)
ASSERT(HasBelow(z))
/turf/simulated/open/Entered(var/atom/movable/mover)
// only fall down in defined areas (read: areas with artificial gravitiy)