This commit is contained in:
Ruben Müller 2014-12-06 21:08:46 +01:00
parent c6d131dc32
commit 7056bbc622
2 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

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