v0.3.2a: also fixed a bug where ore veins would sparkle after being removed.
This commit is contained in:
parent
e2a57a0e31
commit
acc249ec32
|
@ -269,8 +269,14 @@ public class CavesLevel extends RegularLevel {
|
|||
if (visible = Dungeon.visible[pos]) {
|
||||
|
||||
super.update();
|
||||
|
||||
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user