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: Players are able to join a race without having a race car #1149

Merged
merged 5 commits into from
Oct 9, 2023

Conversation

Tiernan-Alderman
Copy link
Contributor

DESC: Changed RacingControlComponent to boot players back to the hub world when trying to race after dismantling a vehicle.

MOTIVATION: Avoid players being stuck indefinitely when trying to load into a race after dismantling a vehicle and starting the race

CHANGES: Code added to the block for identifying the player's vehicle. If the vehicle pointer is null, then rather than simply returning, it will now put the player back into the hub world where the race was accessed, and update the race instance to remove the player from the loading queue so the race can continue for other players who do have their vehicles properly equipped.

TESTING: Tested solo, with two players, and with three players. Test results were successful.

Fixes #780

Changed RacingControlComponent to boot players back to the hub world when trying to race after dismantling a vehicle.
@Tiernan-Alderman Tiernan-Alderman marked this pull request as ready for review July 22, 2023 00:44
@aronwk-aaron aronwk-aaron changed the title Fixed Scrapped Racecar Stuck Issue fix: Players are able to join a race without having a race car Jul 23, 2023
@aronwk-aaron aronwk-aaron merged commit 288991e into DarkflameUniverse:main Oct 9, 2023
3 checks passed
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.

BUG: Players are able to join a race without having a race car
3 participants