Show progress bar on hover
This commit is contained in:
parent
602d01a95e
commit
0fd6b91117
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue