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

Add support for relaunching games after a crash #22

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

Loxtir
Copy link
Contributor

@Loxtir Loxtir commented Sep 4, 2024

Implements #4.
I believe this will only work for 4.3 onwards projects because of godotengine/godot#89229.
I tried a project of mine in 4.2 and it exited with code 1 even when the window was closed, but it looks like that's fixed now.
I used the physics_process to watch for exit codes since it isn't used anywhere else, this way we can easily change the polling rate.

@MrEliptik MrEliptik merged commit 218fe96 into MrEliptik:main Sep 4, 2024
@MrEliptik MrEliptik mentioned this pull request Sep 4, 2024
@Loxtir Loxtir deleted the relaunch_on_crash branch September 4, 2024 17:38
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 this pull request may close these issues.

2 participants