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

fix(client): prevent taking out a vehicle until the first one has spa… #118

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

Manason
Copy link
Member

@Manason Manason commented Jul 8, 2024

Slower clients can take several seconds to spawn a vehicle, so adding a lock to prevent players from spawning multiple of them. This prevents duplicated vehicle spawns.

@Manason Manason requested a review from solareon July 8, 2024 14:10
locales/en.json Outdated Show resolved Hide resolved
Co-authored-by: Solareon <[email protected]>
@Manason Manason requested a review from FjamZoo July 8, 2024 17:33
@Manason Manason merged commit 83777a3 into main Jul 8, 2024
4 checks passed
@Manason Manason deleted the wait-for-spawn branch July 8, 2024 17:46
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.

3 participants