diff --git a/src/entities/miner.coffee b/src/entities/miner.coffee index 6b38872..8b817d7 100644 --- a/src/entities/miner.coffee +++ b/src/entities/miner.coffee @@ -1,6 +1,3 @@ class Miner extends BaseEntity - render: (x, y) -> - app.layer.drawRegion app.entities.layers, [8, 0, 8, 8], x, y - tick: (tile) -> tile.click "left" diff --git a/src/entities/tile.coffee b/src/entities/tile.coffee index 170f9d5..3985b03 100644 --- a/src/entities/tile.coffee +++ b/src/entities/tile.coffee @@ -50,7 +50,7 @@ class Tile extends BaseEntity app.layer.drawRegion app.images.layers, tileLayer.sprite, x*8, y*8 if @currentMiner - app.layer.drawRegion app.images.entities, [8, 0, 8, 8], x*8, y*8 + app.layer.drawRegion app.images.entities, [16, 0, 8, 8], x*8, y*8 if @isSelected app.layer.drawImage app.images.selected, x*8, y*8