From 0fd6b911179df132ab011455f83f90a769ffea65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20M=C3=BCller?= Date: Sun, 7 Dec 2014 00:28:16 +0100 Subject: [PATCH] Show progress bar on hover --- src/tiles/tile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiles/tile.coffee b/src/tiles/tile.coffee index 734238e..a5677cb 100644 --- a/src/tiles/tile.coffee +++ b/src/tiles/tile.coffee @@ -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)