explosion wip

This commit is contained in:
minjaesong
2024-02-15 02:48:57 +09:00
parent c84e01646c
commit f224d0718b
6 changed files with 173 additions and 66 deletions

View File

@@ -108,7 +108,7 @@ object WorldSimulator {
fun buryGrassImmediately() {
ingame.terrainChangeQueue.forEach {
ingame.terrainChangeQueue.toList().forEach {
val blockProp = BlockCodex[it.new]
if (blockProp.isSolid && !blockProp.isActorBlock) {
if (world.getTileFromTerrain(it.posX, it.posY + 1) == Block.GRASS) {