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

Cleanup Client entities on the server when the server stops #603

Open
cBournhonesque opened this issue Aug 18, 2024 · 0 comments
Open

Cleanup Client entities on the server when the server stops #603

cBournhonesque opened this issue Aug 18, 2024 · 0 comments
Labels
C-Bug Something isn't working good first issue Good for newcomers

Comments

@cBournhonesque
Copy link
Owner

cBournhonesque commented Aug 18, 2024

Currently, when the server stops, we don't clean up the 'client' entities (we have one entity per client, used to hold data such as the 'ControlledEntities' of that client).
We want to despawn them to avoid having duplicates when starting/stopping the server.

We can probably just wrap them in StateScoped

@cBournhonesque cBournhonesque added C-Bug Something isn't working good first issue Good for newcomers labels Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant