Prevent disguise kit team selection from resetting at high latency

Fixes ValveSoftware/Source-1-Games#2755.
This commit is contained in:
nosoop
2025-02-20 16:13:15 -08:00
committed by EricS-Valve
parent a76764404f
commit 5cdfa5c5a0

View File

@@ -317,7 +317,7 @@ bool CTFWeaponPDA_Spy::Deploy( void )
{
bool bDeploy = BaseClass::Deploy();
if ( bDeploy )
if ( bDeploy && prediction->IsFirstTimePredicted() )
{
// let the spy pda menu know to reset
IGameEvent *event = gameeventmanager->CreateEvent( "spy_pda_reset" );