4 months ago
util.throttle: Fix 'outstanding' return value
| util/throttle.lua | file | annotate | diff | revisions |
1.1 --- a/util/throttle.lua Fri Jan 13 23:30:00 2012 +0000 1.2 +++ b/util/throttle.lua Fri Jan 13 23:30:32 2012 +0000 1.3 @@ -34,7 +34,7 @@ 1.4 if split then 1.5 self.balance = 0; 1.6 end 1.7 - return false, balance, (cost-self.balance); 1.8 + return false, balance, (cost-balance); 1.9 end 1.10 end 1.11