mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 07:38:00 +03:00
Fix JoinTeam from UNA to T/CT (#76)
Related to https://github.com/s1lentq/ReGameDLL_CS/issues/75
This commit is contained in:
parent
0006bac1a0
commit
00579432d7
@ -73,7 +73,7 @@ bool EXT_FUNC CCSPlayer::JoinTeam(TeamName team)
|
||||
case CT:
|
||||
case TERRORIST:
|
||||
{
|
||||
if (pPlayer->m_iTeam == SPECTATOR)
|
||||
if (pPlayer->m_iTeam == SPECTATOR || pPlayer->m_iTeam == UNASSIGNED)
|
||||
{
|
||||
// If they're switching into spectator, setup spectator properties..
|
||||
pPlayer->m_bNotKilled = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user