Merge remote-tracking branch 'origin/master'

This commit is contained in:
Jonas1989 2014-12-06 21:24:25 +01:00
commit 4d7a9412f1

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