Skip to content

Commit 7c45aed

Browse files
committed
set autowelddir=0 after finish
1 parent a385a7b commit 7c45aed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/game/shared/swarm/asw_weapon_welder_shared.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ void CASW_Weapon_Welder::ItemPostFrame()
317317
if ( ( m_iAutomaticWeldDirection > 0 && m_pWeldDoor->GetSealAmount() >= 1.0f ) ||
318318
( m_iAutomaticWeldDirection < 0 && m_pWeldDoor->GetSealAmount() <= 0.0f ) )
319319
{
320+
m_iAutomaticWeldDirection = 0;
320321
m_bShotDelayed = false;
321322
#ifdef GAME_DLL
322323
if ( pMarine->GetMarineResource() )

0 commit comments

Comments
 (0)