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

Add IsValidPlayer() before flag return cleanup #859

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

Zanieon
Copy link
Contributor

@Zanieon Zanieon commented Sep 2, 2024

Add validity check to player validity cuz Thread of that function might end on via OnDestroy signal by disconnection, and by that point, the player is no longer valid.

Copy link
Member

@GeckoEidechse GeckoEidechse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just adds an IsValidPlayer() check to prevent a potential script error

@GeckoEidechse GeckoEidechse merged commit 0aa2d0a into main Sep 2, 2024
7 checks passed
@GeckoEidechse GeckoEidechse deleted the fix/is-valid-player-check-ctf branch September 2, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants