mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-01-25 00:32:37 +01:00
Prevent disguise kit team selection from resetting at high latency
Fixes ValveSoftware/Source-1-Games#2755.
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user