diff --git a/Client/mods/deathmatch/logic/CNetAPI.cpp b/Client/mods/deathmatch/logic/CNetAPI.cpp index 3f2e18b736..cdd0204f03 100644 --- a/Client/mods/deathmatch/logic/CNetAPI.cpp +++ b/Client/mods/deathmatch/logic/CNetAPI.cpp @@ -295,7 +295,7 @@ void CNetAPI::DoPulse() // Grab the local player CClientPlayer* pPlayer = m_pPlayerManager->GetLocalPlayer(); - if (pPlayer && !pPlayer->IsDeadOnNetwork()) + if (pPlayer) { unsigned long ulCurrentTime = CClientTime::GetTime(); diff --git a/Server/mods/deathmatch/logic/packets/CPlayerPuresyncPacket.cpp b/Server/mods/deathmatch/logic/packets/CPlayerPuresyncPacket.cpp index 11146a5b09..2297e985c1 100644 --- a/Server/mods/deathmatch/logic/packets/CPlayerPuresyncPacket.cpp +++ b/Server/mods/deathmatch/logic/packets/CPlayerPuresyncPacket.cpp @@ -35,8 +35,8 @@ bool CPlayerPuresyncPacket::Read(NetBitStreamInterface& BitStream) if (!BitStream.Read(ucTimeContext)) return false; - // Only read this packet if it matches the current time context that - // player is in. + // Only read this packet if it matches the current time context + // Time context is validated for all players (alive and dead) to prevent stale packets if (!pSourcePlayer->CanUpdateSync(ucTimeContext)) { return false;