[TF2] Fix MoveableSubPanel showing while dead
This commit is contained in:
parent
52e5aff811
commit
089c9fe1df
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue