Commit 04bc705
fix: Add missing OnLogout hook; clean up WG join handler
CFBG_Player was missing PLAYERHOOK_ON_LOGOUT in its constructor,
making OnPlayerLogout dead code. Added the hook so fake races are
correctly cleared on logout.
In OnBattlefieldPlayerJoinWar: removed a stale debug LOG_ERROR and
updated the handler comment to reflect the core fix — the invite is
now erased using GetTeamId(true) so no stale timer remains after the
cross-faction team assignment.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1786c3a commit 04bc705
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
0 commit comments