False wall secure fix, add extra step to plating deconstruction

This commit is contained in:
Mark van Alphen
2019-08-14 04:13:47 +02:00
parent 9a09c862c0
commit df2df63b5f
2 changed files with 20 additions and 6 deletions
+2 -5
View File
@@ -97,12 +97,9 @@
else
icon_state = "fwall_open"
/obj/structure/falsewall/proc/ChangeToWall(delete = 1)
/obj/structure/falsewall/proc/ChangeToWall(delete = TRUE)
var/turf/T = get_turf(src)
if(!walltype || walltype == "metal")
T.ChangeTurf(/turf/simulated/wall)
else
T.ChangeTurf(text2path("/turf/simulated/wall/mineral/[walltype]"))
T.ChangeTurf(walltype)
if(delete)
qdel(src)
return T