Merge pull request #7264 from Steinchen99/qol-rcon-tele

Quality of life ; rcon tele small changes
This commit is contained in:
heinrich5991 2023-09-29 13:15:35 +00:00 committed by GitHub
commit c5ab791540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}