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

@@ -93,7 +93,8 @@ object PickaxeCore {
INGAME.world.inflictTerrainDamage(
x, y,
Calculate.pickaxePower(actor, item?.material) * swingDmgToFrameDmg
Calculate.pickaxePower(actor, item?.material) * swingDmgToFrameDmg,
false
).let { (tileBroken, oreBroken) ->
// drop ore