From 22f9a01a7fa4d2fda1e27371aa8c6bbc77e4f061 Mon Sep 17 00:00:00 2001 From: Tater Date: Thu, 31 Mar 2022 01:06:09 -0500 Subject: [PATCH] fix spec skin on ddnet server --- src/game/client/components/players.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/players.cpp b/src/game/client/components/players.cpp index 887098566d4..705e4174f4f 100644 --- a/src/game/client/components/players.cpp +++ b/src/game/client/components/players.cpp @@ -787,7 +787,7 @@ void CPlayers::OnRender() Pos = m_aClient.m_SpecChar; bool spec = false; - spec = m_aClient.m_Team == TEAM_SPECTATORS && !(m_pClient->IsOtherTeam(ClientID)); + spec = (m_aClient.m_Team == TEAM_SPECTATORS || m_aClient.m_SpecCharPresent) && !(m_pClient->IsOtherTeam(ClientID)); if(spec) RenderTools()->RenderTee(CAnimState::GetIdle(), &m_RenderInfoSpec, EMOTE_BLINK, vec2(1, 0), Pos);