Make the loader use ChangeTurf() for turfs.

This commit is contained in:
YotaXP
2016-04-18 17:41:05 -04:00
parent 03d38bf895
commit 0d8cc8aee7
4 changed files with 17 additions and 23 deletions
+1 -1
View File
@@ -258,7 +258,7 @@
var/list/affecting_lights //not initialised until used (even empty lists reserve a fair bit of memory)
/turf/ChangeTurf(path)
if(!path || path == type) //Sucks this is here but it would cause problems otherwise.
if(!path || (!use_preloader && path == type)) //Sucks this is here but it would cause problems otherwise.
return ..()
for(var/obj/effect/decal/cleanable/decal in src.contents)