Skip to content

Commit

Permalink
Replace "Ammount" for "Amount" (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoRota authored Oct 3, 2016
1 parent baeae3c commit 3e6b90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/golemancer/gol_resourceManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ end
function allConsumed(pattern)
local consumed = true
for _, resource in pairs(pattern.requiredResources) do
consumed = consumed and self.consumedTable[resource.name] and self.consumedTable[resource.name] >= resource.ammount
consumed = consumed and self.consumedTable[resource.name] and self.consumedTable[resource.name] >= resource.amount
end
return consumed
end

0 comments on commit 3e6b90d

Please sign in to comment.