Removing turf with RCD cost mats.

Port : https://github.com/tgstation/tgstation/pull/46801
This commit is contained in:
r4d6
2020-01-03 02:06:47 -05:00
parent dc2f9f2289
commit 5e3abec704
+1 -1
View File
@@ -267,7 +267,7 @@
A.autoclose = TRUE
return TRUE
if(RCD_DECONSTRUCT)
if(ScrapeAway() == src)
if(!ScrapeAway(flags = CHANGETURF_INHERIT_AIR))
return FALSE
to_chat(user, "<span class='notice'>You deconstruct [src].</span>")
return TRUE