From 35d3758a9fba723e843fccd6e175820b8cb4b540 Mon Sep 17 00:00:00 2001 From: Charlie <69320440+hal9000PR@users.noreply.github.com> Date: Sun, 27 Mar 2022 11:20:47 +0100 Subject: [PATCH] [GBP no update] Fixes a disposals runtime (#17526) * fix * Cashe Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> --- code/modules/recycling/disposal.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 881a608067f..a00cf583a7d 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -789,8 +789,9 @@ return if(T.intact && istype(T,/turf/simulated/floor)) //intact floor, pop the tile var/turf/simulated/floor/F = T + var/turf_typecache = F.floor_tile if(F.remove_tile(null, TRUE, FALSE)) - new F.floor_tile(H) + new turf_typecache(T) if(direction) // direction is specified if(istype(T, /turf/space)) // if ended in space, then range is unlimited