mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
QoL ; Made it so f2 cmd 'tele' resets speed and unfreezes the tee upon teleporting
This commit is contained in:
parent
fb290e4d23
commit
7b58b77c5e
|
@ -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