mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-20 15:34:05 +09:00
fix: damaging terrain would not queue the modified chunk for the autosave
This commit is contained in:
@@ -295,6 +295,7 @@ open class IngameInstance(val batch: FlippingSpriteBatch, val isMultiplayer: Boo
|
||||
|
||||
|
||||
open fun modified(layer: Int, x: Int, y: Int) {
|
||||
// printdbg(this, "Chunk modified: layer $layer ($x, $y)")
|
||||
modifiedChunks[layer].add(LandUtil.toChunkNum(world, x, y))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user