mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #7264 from Steinchen99/qol-rcon-tele
Quality of life ; rcon tele small changes
This commit is contained in:
commit
c5ab791540
|
@ -386,6 +386,8 @@ void CGameContext::ConTeleport(IConsole::IResult *pResult, void *pUserData)
|
|||
if(pChr && pSelf->GetPlayerChar(TeleTo))
|
||||
{
|
||||
pSelf->Teleport(pChr, pSelf->m_apPlayers[TeleTo]->m_ViewPos);
|
||||
pChr->UnFreeze();
|
||||
pChr->Core()->m_Vel = vec2(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue