Fix
This commit is contained in:
parent
7056bbc622
commit
31c9ba5f6a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Tile extends BaseEntity
|
||||||
else
|
else
|
||||||
@currentLayer += 1
|
@currentLayer += 1
|
||||||
|
|
||||||
if @currentLayer > Object.keys(app.game.resources).length
|
if @currentLayer == Object.keys(app.game.resources).length-1
|
||||||
@died = true
|
@died = true
|
||||||
|
|
||||||
@currentMiner = null if @currentMiner
|
@currentMiner = null if @currentMiner
|
||||||
|
|
Loading…
Reference in a new issue