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