This commit is contained in:
Ruben Müller 2014-12-06 21:12:48 +01:00
parent 7056bbc622
commit 31c9ba5f6a

View file

@ -25,7 +25,7 @@ class Tile extends BaseEntity
else
@currentLayer += 1
if @currentLayer > Object.keys(app.game.resources).length
if @currentLayer == Object.keys(app.game.resources).length-1
@died = true
@currentMiner = null if @currentMiner