mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 22:44:04 +09:00
fix: damaging terrain would not queue the modified chunk for the autosave
This commit is contained in:
@@ -588,7 +588,7 @@ open class ActorWithBody : Actor {
|
||||
// printdbg(this, it)
|
||||
val dmgPerTile = terrainDamage / it.size
|
||||
it.forEach { (x, y) ->
|
||||
world?.inflictTerrainDamage(x, y, dmgPerTile)
|
||||
world?.inflictTerrainDamage(x, y, dmgPerTile, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user