The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on January 31, 2022, 02:39:13 PM

Title: [r9808] haltlist doesn't restore the owner color correctly when loading a save
Post by: RESTRICTED ACCOUNT on January 31, 2022, 02:39:13 PM
The haltlist remember that it is open for autosaving. However, after loading the save, the title bar may be the wrong color.

Reproducibility procedure:
(1) Close the game by switching to the player who opened it and another player before saving. For example, open the red owner's halt list, then switch to the green player and close the game.
(2) Then please restart the game. The title bar of the haltlist is green, but the stop list displayed is for the red player. That is, the title bar should be red.

I attach a patch to fix this.
Title: Re: [r9808] haltlist doesn't restore the owner color correctly when loading a save
Post by: prissi on February 02, 2022, 05:12:38 AM
Thanks, incorporated in r10440