Show progress bar on hover

This commit is contained in:
Ruben Müller 2014-12-07 00:28:16 +01:00
parent 602d01a95e
commit 0fd6b91117
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Tile
if @entity
app.layer.drawRegion app.images.entities, @entity.sprite(), x*8, y*8
if (@entity and @entity.isMoveable())
if (@entity and @entity.isMoveable()) or @isActive
# Draw the status indicator.
app.layer.drawImage app.images.progress, x*8, y*8
numPercent = Math.floor((tileLayer.amount*6)/app.game.maxTileAmount)