fix: damaging terrain would not queue the modified chunk for the autosave

This commit is contained in:
minjaesong
2024-02-16 14:29:47 +09:00
parent 902341bd78
commit b11bbf0130
7 changed files with 24 additions and 10 deletions

View File

@@ -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)
}
}
}