Buildmode update 2 (#16526)

* Buildmode update

* Allow spawn to spawn areas

* Fixes click-dragging functionality

* Fully fixes click-drag
This commit is contained in:
unid15
2017-11-18 00:30:00 +01:00
committed by Pieter-Jan Briers
parent 0c189b733c
commit d33e6637ad
4 changed files with 101 additions and 13 deletions

View File

@@ -1309,6 +1309,11 @@ var/global/floorIsLava = 0
if(ispath(chosen,/turf))
var/turf/T = get_turf(usr.loc)
T.ChangeTurf(chosen)
else if(ispath(chosen, /area))
var/area/A = locate(chosen)
var/turf/T = get_turf(usr.loc)
T.set_area(A)
else
new chosen(usr.loc)