From 7b58b77c5e7c2e5183b0638f4096cc590b2a31b8 Mon Sep 17 00:00:00 2001 From: Steinchen99 Date: Thu, 28 Sep 2023 19:02:05 +0200 Subject: [PATCH] QoL ; Made it so f2 cmd 'tele' resets speed and unfreezes the tee upon teleporting --- src/game/server/ddracecommands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/server/ddracecommands.cpp b/src/game/server/ddracecommands.cpp index 5b762632b..19977b557 100644 --- a/src/game/server/ddracecommands.cpp +++ b/src/game/server/ddracecommands.cpp @@ -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); } }