OLEGSHA / Progressia

A GPL sandbox survival game
GNU General Public License v3.0
10 stars 4 forks source link

Make sure TickableTiles on chunk borders only tick once #6

Closed OLEGSHA closed 3 years ago

OLEGSHA commented 3 years ago

Make sure that ChunkLogic.forEachTickingTile only runs the action for inner tiles and primary border tiles, that is, stop considering tiles that are on the BOTTOM, SOUTH and EAST chunk borders. Otherwise these tiles may be ticked twice.

OLEGSHA commented 3 years ago

This is irrelevant since 4fa3592c98e8488ec7afc44f9d0b32fba4355f6d - tiles now unambiguously belong to one block (and hence chunk) only.