Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game_creation.variety isn't stored in savegames #6673

Closed
DorpsGek opened this issue Jan 30, 2018 · 1 comment
Closed

game_creation.variety isn't stored in savegames #6673

DorpsGek opened this issue Jan 30, 2018 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Samu opened the ticket and wrote:

Copy/paste from https://www.tt-forums.net/viewtopic.php?f=33&t=82544# p1201836

The 'Variety distribution' setting which is used for generating the world was a client setting and was not stored in savegames.

This would mean that when I was receiving a map from a multi-player server, this information was not provided. When I was attempting to 'restart' in the console to generate the exact same world, I was getting a slightly different terrain.

This patch makes this setting a game setting, and stores it in savegames. Apparently, this required a savegame version bump.
There is no savegame conversion, since the information wasn't previously stored. Loading a savegame prior to this patch will re-use the value that is currently set in openttd.

Attachments

Reported version: 1.7.2
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/6673
@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r27978. Thanks for the patch.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6673

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant