Skip to content

Commit 88dd312

Browse files
nosoopmastercoms
authored andcommitted
Prevent disguise kit team selection from resetting at high latency
Fixes ValveSoftware/Source-1-Games#2755.
1 parent e228093 commit 88dd312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/shared/tf/tf_weapon_pda.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ bool CTFWeaponPDA_Spy::Deploy( void )
317317
{
318318
bool bDeploy = BaseClass::Deploy();
319319

320-
if ( bDeploy )
320+
if ( bDeploy && prediction->IsFirstTimePredicted() )
321321
{
322322
// let the spy pda menu know to reset
323323
IGameEvent *event = gameeventmanager->CreateEvent( "spy_pda_reset" );

0 commit comments

Comments
 (0)