# HG changeset patch # User Matthew Wild # Date 1326497432 0 # Node ID 0209bd5c4259e1cec62a81105992a9a7bc54a0cb # Parent 50073593167788d8c27b287bf9eb1e2cd888b6eb util.throttle: Fix 'outstanding' return value diff -r 500735931677 -r 0209bd5c4259 util/throttle.lua --- a/util/throttle.lua Fri Jan 13 23:30:00 2012 +0000 +++ b/util/throttle.lua Fri Jan 13 23:30:32 2012 +0000 @@ -34,7 +34,7 @@ if split then self.balance = 0; end - return false, balance, (cost-self.balance); + return false, balance, (cost-balance); end end