From cc40ddc3b99411d03be958da233b0c417ca279f7 Mon Sep 17 00:00:00 2001 From: TiviPlus <57223640+TiviPlus@users.noreply.github.com> Date: Sat, 3 Oct 2020 15:33:09 +0200 Subject: [PATCH] Reduces maptick with this spicy one line change (warranty not included) (#54052) The way appearance_flags works is it does extra calculations if it does NOT have the TILE_BOUND flag Tile bound will make it avoid calculating pixel offset and large sprite render checks This meant that for every turf and every area, it was doing extra calculations to see if it should render the sprite as it might be larger than 32x32.....despite no turf or area being larger than 32x32 --- code/game/atoms.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 11114a3d1c0..7e1a3a4cfe6 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -7,6 +7,7 @@ /atom layer = TURF_LAYER plane = GAME_PLANE + appearance_flags = TILE_BOUND ///If non-null, overrides a/an/some in all cases var/article