From 5e3abec7046ebe5ae1d8b72444a96572d0eef8cd Mon Sep 17 00:00:00 2001 From: r4d6 Date: Fri, 3 Jan 2020 02:06:47 -0500 Subject: [PATCH] Removing turf with RCD cost mats. Port : https://github.com/tgstation/tgstation/pull/46801 --- code/game/turfs/simulated/floor.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index d14a4c7385..60ac502c52 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -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, "You deconstruct [src].") return TRUE