Skip to content

Fix off-by-one skipping last client slot on late-load - #50

Merged
Rushaway merged 2 commits into
masterfrom
fix/off-by-one-late-load
Sep 21, 2026
Merged

Rushaway merged 2 commits into
masterfrom
fix/off-by-one-late-load

Conversation

@Rushaway

Copy link
Copy Markdown
Member

Summary

  • Late-load init loop used i < MaxClients, skipping the last client slot.

Fixes #49

Test plan

  • Compiled cleanly via the local SourcePawn compiler, no errors/warnings.

🤖 Generated with Claude Code

Rushaway and others added 2 commits September 20, 2026 14:50
OnPluginStart()'s late-load loop used i < MaxClients instead of
i <= MaxClients, so the player in the last client slot never had
OnClientAuthorized() invoked for them.

Fixes #49

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Rushaway
Rushaway merged commit 8e210ec into master Sep 21, 2026
6 checks passed
@Rushaway
Rushaway deleted the fix/off-by-one-late-load branch September 21, 2026 10:00
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.

Off-by-one skips the last client slot on late-load auth initialization

1 participant