mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Multi-z fixes.
This commit is contained in:
@@ -763,7 +763,6 @@
|
||||
#include "code\game\objects\structures\inflatable.dm"
|
||||
#include "code\game\objects\structures\janicart.dm"
|
||||
#include "code\game\objects\structures\kitchen_spike.dm"
|
||||
#include "code\game\objects\structures\ladders.dm"
|
||||
#include "code\game\objects\structures\lamarr_cage.dm"
|
||||
#include "code\game\objects\structures\lattice.dm"
|
||||
#include "code\game\objects\structures\mirror.dm"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
|
||||
/turf/simulated/open/New()
|
||||
. = ..()
|
||||
ASSERT(HasBelow(z))
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user