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

Save() called twice #3034

Closed
DorpsGek opened this issue Jul 15, 2009 · 2 comments
Closed

Save() called twice #3034

DorpsGek opened this issue Jul 15, 2009 · 2 comments
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Chruker opened the ticket and wrote:

When OpenTTD is saving a game, the Save() function is called twice.

While Yexo have kindly explained how it doesnt matter, it still means that the AIs are collecting the data twice for each save. That is why I marked it as very low.

So for performance reasons a single call would be preferable.

Reported version: trunk
Operating system: All


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

frosch wrote:

Attached is an AI that breaks OTTDs saving and produces invalid savegames.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3034#comment6329

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Fixed

In r16834


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

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

No branches or pull requests

1 participant