Skip to content

Commit e21d86f

Browse files
committed
Update tf_weapon_lunchbox.cpp
1 parent 32a076d commit e21d86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/shared/tf/tf_weapon_lunchbox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ void CTFLunchBox::ApplyBiteEffects( CTFPlayer *pPlayer )
470470
}
471471

472472
// Drain ammo on the first bite that applied an effect
473-
if (bDrainAmmo && !pPlayer->m_Shared.m_bBiteEffectWasApplied)
473+
if (!pPlayer->m_Shared.m_bBiteEffectWasApplied)
474474
{
475475
DrainAmmo();
476476
pPlayer->m_Shared.SetBiteEffectWasApplied();

0 commit comments

Comments
 (0)