mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #1783
1783: Set and send solo status on servers with sv_solo_server and sv_team 3 r=def- a=trml The solo flag isn't currently being sent on these servers (only tunings for hook and collision), which causes grenades to mistakenly be predicted to collide with others (when client and server both use ddnetcharacter). Co-authored-by: trml <trml@users.noreply.github.com>
This commit is contained in:
commit
6809f10820
|
@ -583,6 +583,7 @@ void CPlayer::TryRespawn()
|
|||
NewTeam = 0;
|
||||
|
||||
Controller->m_Teams.SetForceCharacterTeam(GetCID(), NewTeam);
|
||||
m_pCharacter->SetSolo(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue