mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
Fix robot medic uber not sticking when exiting spawn area
This commit is contained in:
parent
aea94b32cb
commit
5168209efd
1 changed files with 0 additions and 2 deletions
|
@ -190,9 +190,7 @@ ActionResult< CTFBot > CTFBotMainAction::Update( CTFBot *me, float interval )
|
|||
if ( myArea && myArea->HasAttributeTF( spawnRoomFlag ) )
|
||||
{
|
||||
// invading bots get uber while they leave their spawn so they don't drop their cash where players can't pick it up
|
||||
me->m_Shared.AddCond( TF_COND_INVULNERABLE, 0.5f );
|
||||
me->m_Shared.AddCond( TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED, 0.5f );
|
||||
me->m_Shared.AddCond( TF_COND_INVULNERABLE_WEARINGOFF, 0.5f );
|
||||
me->m_Shared.AddCond( TF_COND_IMMUNE_TO_PUSHBACK, 1.0f );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue