mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Buildmode update 2 (#16526)
* Buildmode update * Allow spawn to spawn areas * Fixes click-dragging functionality * Fully fixes click-drag
This commit is contained in:
committed by
Pieter-Jan Briers
parent
0c189b733c
commit
d33e6637ad
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user