Fixed bug that lava doesnt kill
parent
d00b7c4834
commit
057e7692f7
|
@ -92,6 +92,7 @@ public class MapReader {
|
|||
} else if(file.charAt(i)=='l'){
|
||||
newTile("img/tiles/terrain/lava.png");
|
||||
GamePanel.map[x][y].nonBombCollide = true;
|
||||
GamePanel.map[x][y].kills = true;
|
||||
if(y>0&&GamePanel.map[x][y-1]==null) {
|
||||
GamePanel.particleTiles.add(GamePanel.map[x][y]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue