Turf initialization tweaking.

Removes the need for a spawn() in New().
This commit is contained in:
PsiOmega
2015-09-27 13:18:18 +02:00
parent d1e2257218
commit fa6319d52d
3 changed files with 11 additions and 8 deletions

View File

@@ -11,11 +11,10 @@
var/list/underlay_references
var/global/overlay_map = list()
/turf/simulated/open/New()
. = ..()
spawn(1)
below = GetBelow(src)
ASSERT(HasBelow(z))
/turf/simulated/open/initialize()
..()
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)