The International Simutrans Forum

 

Author Topic: Saving game will reset transit value to zero  (Read 1766 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
Saving game will reset transit value to zero
« 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.

The Transporter

  • Guest
Re: Saving game will reset transit value to zero
« Reply #1 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

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2715
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Saving game will reset transit value to zero
« Reply #2 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.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: Saving game will reset transit value to zero
« Reply #3 on: May 07, 2014, 06:34:21 AM »
should be fixed in r7126.