# HG changeset patch # User Matthew Wild # Date 1326497432 0 # Node ID fc8a22936b3cdb505221e52a302268391b2aab12 # Parent 28e0bf9cf0f5469ea65d4d069290a611d513024f util.throttle: Fix 'outstanding' return value diff -r 28e0bf9cf0f5 -r fc8a22936b3c 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