v0.3.2a: also fixed a bug where ore veins would sparkle after being removed.
This commit is contained in:
parent
e2a57a0e31
commit
acc249ec32
|
@ -272,6 +272,12 @@ public class CavesLevel extends RegularLevel {
|
|||
|
||||
if ((delay -= Game.elapsed) <= 0) {
|
||||
|
||||
//pickaxe can remove the ore, should remove the sparkling too.
|
||||
if (Dungeon.level.map[pos] != Terrain.WALL_DECO){
|
||||
kill();
|
||||
return;
|
||||
}
|
||||
|
||||
delay = Random.Float();
|
||||
|
||||
PointF p = DungeonTilemap.tileToWorld( pos );
|
||||
|
|
Loading…
Reference in New Issue
Block a user