aboutsummaryrefslogtreecommitdiffstats
path: root/util/throttle.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/throttle.lua')
-rw-r--r--util/throttle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/throttle.lua b/util/throttle.lua
index 82b0a67b..2e901158 100644
--- a/util/throttle.lua
+++ b/util/throttle.lua
@@ -34,7 +34,7 @@ function throttle:poll(cost, split)
if split then
self.balance = 0;
end
- return false, balance, (cost-self.balance);
+ return false, balance, (cost-balance);
end
end