Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 0d634d9

Browse files
committed
Fix accidental burst when heatlance starts firing
1 parent d8acc1b commit 0d634d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Entities/HDFirearm.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,9 @@ void HDFirearm::Update()
933933
delete pRound;
934934
}
935935
pRound = 0;
936-
}
936+
} else {
937+
m_ActivationTimer.Reset();
938+
}
937939
} else if (m_Activated && !m_AlreadyClicked) {
938940
// Play empty pin click sound.
939941
if (m_EmptySound) { m_EmptySound->Play(m_Pos); }

0 commit comments

Comments
 (0)