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

wind generators' SetDirection and SetSpeed unit script functions should be called more frequently #1711

Open
springraaar opened this issue Oct 2, 2024 · 0 comments · May be fixed by #1712

Comments

@springraaar
Copy link
Contributor

engine 2584
any game
maps with avg wind (5-20) (like this)

on wind generators, SetDirection and SetSpeed script functions are only called every 15s. They should be called at least every slow update, or maybe every sim frame.

@springraaar springraaar changed the title SetDirection and SetSpeed unit script functions should be called more frequently wind generators' SetDirection and SetSpeed unit script functions should be called more frequently Oct 2, 2024
lhog added a commit that referenced this issue Oct 2, 2024
…s to the wind speed/strength as frequent as defined by misc.windChangeReportPeriod.

If misc.windChangeReportPeriod is not defined or defined to be <= 0.0, the previous behavior of reporting the wind change once in 15 seconds is kept for compatibility reasons.

Fixes #1711
@lhog lhog linked a pull request Oct 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant