mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-08-03 20:24:36 +02:00
[TF2] Fix MoveableSubPanel showing while dead
This commit is contained in:
@@ -12338,6 +12338,9 @@ bool CTFPlayer::CanPickupBuilding( CBaseObject *pPickupObject )
|
||||
if ( pPickupObject->GetUpgradeLevel() != pPickupObject->GetHighestUpgradeLevel() )
|
||||
return false;
|
||||
|
||||
if ( !IsAlive() )
|
||||
return false;
|
||||
|
||||
if ( m_Shared.IsCarryingObject() )
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user