Open Nord1cWarr1or opened 5 months ago
The bug might be related to this line: https://github.com/s1lentq/ReGameDLL_CS/blob/4b49f630da970cc62bb3cd7ecd65710dd7d87122/regamedll/dlls/player.cpp#L10453
probably should become:
if (m_iTeam == UNASSIGNED || m_iTeam == SPECTATOR)
Players can be spawned while on the UNASSIGNED team, if there are less spawns on the map than slots on the server, and all slots in teams on the server are filled, and mp_auto_join_team and mp_forcerespawn CVars are active.
https://github.com/s1lentq/ReGameDLL_CS/assets/47604048/f1ac9d5c-eeb2-4ad4-825b-19be35036bfe
An easy way to reproduce this bug with bots:
-bots