sahisahi
Member
Today playing with Xmlspawner i end up with a negative log amount of -180 ish
whenever i tried to lift it up the amount said i was around 65k or so (see pic)
then i tried to change the amount at it didnt let me so seems like a glitch.
So i added this to my log.cs and it got fixed, i wonder if it will mess things up or not, any thoughts?
whenever i tried to lift it up the amount said i was around 65k or so (see pic)
then i tried to change the amount at it didnt let me so seems like a glitch.
So i added this to my log.cs and it got fixed, i wonder if it will mess things up or not, any thoughts?
Code:
protected override void OnAmountChange( int oldValue )
{
int newValue = this.Amount;
if (this.Amount < 0)
{
this.Delete();
}
}