[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>
This commit is contained in:
Charlie
2022-03-27 11:20:47 +01:00
committed by GitHub
co-authored by AffectedArc07
parent 6b47aebf80
commit 35d3758a9f
+2 -1
View File
@@ -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