Fix silo storage calculation

This commit is contained in:
Ruben Müller 2014-12-07 13:22:35 +01:00
parent c4662dba5b
commit 3f7fe8c5cf

View file

@ -85,7 +85,7 @@ app.game =
availableSiloStorage: -> availableSiloStorage: ->
space = 50 space = 50
for tile in app.game.map for tile in app.game.map
space += tile.spaceProvided if tile.spaceProvided space += tile.entity.spaceProvided if tile.entity
space space
usedSiloStorage: -> usedSiloStorage: ->