Skip to content

Commit ce76d61

Browse files
committed
fix(welder): open unsealed door right away
1 parent bc71a7f commit ce76d61

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/game/shared/swarm/asw_weapon_welder_shared.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,11 @@ void CASW_Weapon_Welder::FinishWeld( CASW_Marine* pMarine, bool bKeepWeldDirecti
243243
}
244244
#endif // GAME_DLL
245245
#ifndef CLIENT_DLL
246+
if ( m_iAutomaticWeldDirection < 0 && m_pWeldDoor && m_pWeldDoor->GetSealAmount() <= 0.0f )
247+
{
248+
// Open ASAP
249+
m_pWeldDoor->StopCloseForWeld( pMarine );
250+
}
246251
m_pWeldDoor = NULL;
247252
#endif // CLIENT_DLL
248253
if ( !bKeepWeldDirection )

0 commit comments

Comments
 (0)