Fix TF_COND_ROCKETPACK not being removed if player has no RocketPack

This commit is contained in:
Bakugo
2025-08-12 21:21:06 +01:00
committed by EricS-Valve
parent 2b251749c6
commit 8b52af07d7
+5
View File
@@ -3135,6 +3135,11 @@ void CTFPlayerShared::ConditionThink( void )
#endif
}
}
else
{
// RocketPack not found, may have been unequipped, or we may be a Medic who inherited the cond
RemoveCond( TF_COND_ROCKETPACK );
}
}
}