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
This commit is contained in:
TiviPlus
2020-10-03 10:33:09 -03:00
committed by GitHub
parent 9087aa4aed
commit cc40ddc3b9
+1
View File
@@ -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