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: possible nil player in game events on rare occasion #560

Merged
merged 1 commit into from
Aug 8, 2024

Commits on Aug 8, 2024

  1. fix: possible nil player in game events on rare occasion

    Make sure to create/update players in gameState (`playersByEntityID`, `playersByUserID`) on connection status changes.
    Sometimes players raw info are not available on controller entity creation so it would result in missing players in `gameState.playersByUserID`.
    It may be related to player disconnection as the affected player got disconnected at the beginning of the demo.
    
    fix akiver/cs-demo-manager#904
    akiver committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ddb4ff4 View commit details
    Browse the repository at this point in the history