Skip to content

Commit

Permalink
Idk
Browse files Browse the repository at this point in the history
  • Loading branch information
furo321 committed Oct 2, 2024
1 parent eaaa801 commit a7f9b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/server/gamecontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4483,7 +4483,7 @@ bool CGameContext::IsClientReady(int ClientId) const

bool CGameContext::IsClientPlayer(int ClientId) const
{
if(!str_comp(g_Config.m_SvGametype, "bomb") && m_pController)
if(!str_comp(g_Config.m_SvGametype, "bomb"))
{
CGameControllerBomb *pController = (CGameControllerBomb *)m_pController;
return m_apPlayers[ClientId] && pController->m_aPlayers[ClientId].m_State >= CGameControllerBomb::STATE_ACTIVE;
Expand Down Expand Up @@ -5000,7 +5000,7 @@ void CGameContext::OnUpdatePlayerServerInfo(CJsonStringWriter *pJSonWriter, int
// 0.6
if(!Server()->IsSixup(Id))
{
if(!str_comp(g_Config.m_SvGametype, "bomb") && m_pController)
if(!str_comp(g_Config.m_SvGametype, "bomb"))
{
CGameControllerBomb *pController = (CGameControllerBomb *)m_pController;

Expand Down

0 comments on commit a7f9b5e

Please sign in to comment.