More detection of negatives.
parent
473fac4dc7
commit
477a869fb2
|
@ -213,6 +213,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
content = Math.Min(content + dripAmount, maxBurst);
|
content = Math.Min(content + dripAmount, maxBurst);
|
||||||
lastDrip = now;
|
lastDrip = now;
|
||||||
|
|
||||||
|
if (content < 0)
|
||||||
|
Console.WriteLine("MAY DAY MAY DAY! Content is " + content + ". This should not happen");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue