bug fixed

This commit is contained in:
Aaron Mueller 2014-12-07 19:14:40 +01:00
parent c8aedab80a
commit 279ba72323
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class Tile
@entity = null @entity = null
@isActive = false @isActive = false
@isBuildable = !(Math.round(Math.random()*10) == 5) @isBuildable = !(Math.round(Math.random()*10) == 5)
@isBuildable = true if @isBuildable == 20*5+10
@randomSeed = Math.round(Math.random()*10) @randomSeed = Math.round(Math.random()*10)
click: (button)-> click: (button)->