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

[Bug]: Unintentional despawns may happen if a player disconnects while driving #3450

Closed
jaj22 opened this issue Dec 2, 2024 · 0 comments · Fixed by #3455
Closed

[Bug]: Unintentional despawns may happen if a player disconnects while driving #3450

jaj22 opened this issue Dec 2, 2024 · 0 comments · Fixed by #3455
Labels
Bug Something isn't working
Milestone

Comments

@jaj22
Copy link

jaj22 commented Dec 2, 2024

distance has an optimisation where only the effective commander of a vehicle is considered for spawning & despawning. If that unit is deleted during the cycle, sites may despawn and then spawn rapidly, which is unintentional behaviour and may lead to double spawns due to timing issues.

Could be fixed by converting the array of players into positions while in unscheduled. I don't think it's ever an issue except with players (in other cases the driver would be deleted together with the other vehicle occupants).

@jaj22 jaj22 added the Bug Something isn't working label Dec 2, 2024
@jaj22 jaj22 added this to the 3.8.0 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant