The International Simutrans Forum

Development => Bug Reports => Topic started by: z9999+ on May 06, 2014, 01:02:10 AM

Title: Saving game will reset transit value to zero
Post by: z9999+ on May 06, 2014, 01:02:10 AM
Simutrans 120.0RC

Saving the game will reset transit value to zero.

In the attached savegame, transit value is already larger than max_transit.
So, producer doesn't produce anymore.
But if you save this game, transit value will reset to zero and producer will produce again.
This should be a bug.

How to reproduce:
1. Load the attached savegame for pak64.
2. Save this game.

Result:
Transit value resets to zero and producer produces again.
Title: Re: Saving game will reset transit value to zero
Post by: The Transporter on May 06, 2014, 04:25:57 PM
You can see the Bug with a open Factory Window during saving the Game. The transit value is directly st to zero
Title: Re: Saving game will reset transit value to zero
Post by: Vladki on May 06, 2014, 07:46:22 PM
That might explain why I get negative intransit values. Automatic save resets them to zero, and then is the cargo delivered.
Title: Re: Saving game will reset transit value to zero
Post by: Dwachs on May 07, 2014, 06:34:21 AM
should be fixed in r7126.