fixed the GameWorld's tilenumbermap which prevented the new world to be created

This commit is contained in:
minjaesong
2023-10-06 00:20:09 +09:00
parent 1fcca8098c
commit 7c734240b3

View File

@@ -223,7 +223,10 @@ open class GameWorld(
// AN EXCEPTIONAL TERM: tilenum 0 is always redirected to Air tile, even if the tilenum for actual Air tile is not zero
tileNumberToNameMap[0] = Block.AIR
tileNameToNumberMap[Block.AIR] = 0
tileNumberToNameMap[2] = Block.UPDATE
tileNameToNumberMap[Block.UPDATE] = 2
}
}
@@ -254,7 +257,10 @@ open class GameWorld(
// AN EXCEPTIONAL TERM: tilenum 0 is always redirected to Air tile, even if the tilenum for actual Air tile is not zero
tileNumberToNameMap[0] = Block.AIR
tileNameToNumberMap[Block.AIR] = 0
tileNumberToNameMap[2] = Block.UPDATE
tileNameToNumberMap[Block.UPDATE] = 2
}
/**