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
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue