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

Startup ticks don't allow multiple DoCommands #6712

Open
TrueBrain opened this issue Apr 14, 2018 · 2 comments
Open

Startup ticks don't allow multiple DoCommands #6712

TrueBrain opened this issue Apr 14, 2018 · 2 comments

Comments

@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Apr 14, 2018

Part of issue #5304, but deserving his own ticket:

Yexo wrote:

When generating a new game a GameScript should have 2500 ticks to initialize everything it wants as long as it doesn't call Sleep(). However this is currently broken since not only a sleep but also any DoCommand will stop the initialization and start the game. These 2500 ticks could be increased easily, it then doesn't take any time at all to call SetCargoGoal on all towns. I've discussed this with frosch and we both think this is a better solution than introducing a function that works on all towns since such a function would be pretty limited.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5304#comment11519
@stale
Copy link

@stale stale bot commented Jan 24, 2019

This issue has been automatically marked as stale because it has not had any activity in the last two months.
If you believe the issue is still relevant, please test on the latest nightly and report back.
It will be closed if no further activity occurs within 7 days.
Thank you for your contributions.

@stale stale bot added the stale label Jan 24, 2019
@LordAro
Copy link
Member

@LordAro LordAro commented Jan 24, 2019

Still relevant, and should be a relatively simple change, if I understand the issue correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants