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

Do not run client systems when the client is disconnected #134

Closed
wants to merge 1 commit into from

Conversation

UkoeHB
Copy link
Contributor

@UkoeHB UkoeHB commented Dec 23, 2023

Running systems for a disconnected client just spams transport errors.

@marko-lazic
Copy link

Wrapping that into client_connected() function would have better sound.

@UkoeHB
Copy link
Contributor Author

UkoeHB commented Dec 24, 2023

Wrapping that into client_connected() function would have better sound.

We need this to run when connecting and connected.

@UkoeHB
Copy link
Contributor Author

UkoeHB commented May 25, 2024

This PR has a bug, since the client needs to update at least once while disconnected in order to send a disconnect packet to the server.

The correct run condition is here.

@UkoeHB UkoeHB closed this May 25, 2024
@UkoeHB UkoeHB deleted the run_conditions branch May 25, 2024 01:10
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