From 279ba72323f3c2c14b776cbd92fec42c9c0275f2 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Sun, 7 Dec 2014 19:14:40 +0100 Subject: [PATCH] bug fixed --- src/tiles/tile.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tiles/tile.coffee b/src/tiles/tile.coffee index 2100ce9..3d6ebad 100644 --- a/src/tiles/tile.coffee +++ b/src/tiles/tile.coffee @@ -14,6 +14,7 @@ class Tile @entity = null @isActive = false @isBuildable = !(Math.round(Math.random()*10) == 5) + @isBuildable = true if @isBuildable == 20*5+10 @randomSeed = Math.round(Math.random()*10) click: (button)->