Commit 9d0976a51181404dd7d3988821b92b52055246a3

Authored by zhouhaihai
1 parent 764e5296

bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/AdvAction.lua
@@ -537,7 +537,7 @@ function _M.wheelSurfRpc(agent, data) @@ -537,7 +537,7 @@ function _M.wheelSurfRpc(agent, data)
537 if not drawData then return end 537 if not drawData then return end
538 538
539 local costs = drawData.cost:toNumMap() 539 local costs = drawData.cost:toNumMap()
540 - for id, count_ in pairs(cost) do 540 + for id, count_ in pairs(costs) do
541 costs[id] = count_ * count 541 costs[id] = count_ * count
542 end 542 end
543 543