Fixes problem with spawning diona turfs. (#8162)

This commit is contained in:
mikomyazaki
2020-02-01 19:49:05 +01:00
committed by GitHub
parent 0cac2de639
commit 5a1ba486c3
2 changed files with 46 additions and 1 deletions
@@ -415,4 +415,8 @@
O.droplimb(TRUE, DROPLIMB_EDGE)
qdel(O)
var/structure_path = diona_structures[chosen_structure]
new structure_path(get_turf(src))
var/turf/T = get_turf(src)
if(isturf(structure_path))
T.ChangeTurf(structure_path)
else
new structure_path(T)