Floor Tile Memory Useage and Initialization

This commit is contained in:
Fox McCloud
2020-06-25 13:16:03 -04:00
parent 69de03a622
commit 1683260d0e
5 changed files with 24 additions and 35 deletions
+2 -2
View File
@@ -794,8 +794,8 @@
return
if(T.intact && istype(T,/turf/simulated/floor)) //intact floor, pop the tile
var/turf/simulated/floor/F = T
new F.builtin_tile.type(H)
F.remove_tile(null,TRUE,FALSE)
new F.floor_tile(H)
F.remove_tile(null, TRUE, FALSE)
if(direction) // direction is specified
if(istype(T, /turf/space)) // if ended in space, then range is unlimited