removes ruin baseturf helpers for lavaland surface

and fixes related issues
This commit is contained in:
ninjanomnom
2018-01-23 10:00:02 -05:00
parent dcacb06269
commit 3e8271c77b
25 changed files with 65 additions and 544 deletions

View File

@@ -338,11 +338,13 @@ GLOBAL_DATUM_INIT(_preloader, /dmm_suite/preloader, new)
GLOB._preloader.setup(attributes, path)
if(crds)
if(!no_changeturf && ispath(path, /turf))
if(ispath(path, /turf))
if(placeOnTop)
. = crds.PlaceOnTop(null, path, CHANGETURF_DEFER_CHANGE)
else
. = crds.PlaceOnTop(null, path, CHANGETURF_DEFER_CHANGE | (no_changeturf ? CHANGETURF_SKIP : NONE))
else if(!no_changeturf)
. = crds.ChangeTurf(path, null, CHANGETURF_DEFER_CHANGE)
else
. = create_atom(path, crds)//first preloader pass
else
. = create_atom(path, crds)//first preloader pass