Turfs who spawn with the spawn verb or with buildmode will now use the ChangeTurf() proc and stop making Linda runtime to hell.

Conflicts:
	code/WorkInProgress/buildmode.dm
This commit is contained in:
Aranclanos
2014-01-07 09:19:59 -03:00
committed by Mloc-Argent
parent 5c3d48302b
commit 96cf1b050d
2 changed files with 18 additions and 10 deletions
+5 -1
View File
@@ -967,7 +967,11 @@ var/global/floorIsLava = 0
if(!chosen)
return
new chosen(usr.loc)
if(ispath(chosen,/turf))
var/turf/T = get_turf(usr.loc)
T.ChangeTurf(chosen)
else
new chosen(usr.loc)
log_admin("[key_name(usr)] spawned [chosen] at ([usr.x],[usr.y],[usr.z])")
feedback_add_details("admin_verb","SA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!