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

computer sleep and resume disables local scripts #3828

Open
highno opened this issue Mar 28, 2024 · 0 comments
Open

computer sleep and resume disables local scripts #3828

highno opened this issue Mar 28, 2024 · 0 comments

Comments

@highno
Copy link

highno commented Mar 28, 2024

I make extensive use of local scripting to support map designers to focus on design and do no scripting at all. It works great BUT once a computer moves into energy saving mode and resumes, all local scripting including javascript timers is broken. The local scripting won't come alive unless I reload the browser tab. Therefore all engine functions in the map still work but all additional functionality of my script does not.
Is there a way to get around this?
Does the engine need to restart the scripting part? Do I need to write special functions to get reactived after a resume is done?

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

No branches or pull requests

1 participant