Skip to content

Commit

Permalink
Ensure Rifle damage is changed directly on zoom, or it will be wrong …
Browse files Browse the repository at this point in the history
…if shooting in the same step (#1165314)
  • Loading branch information
Medo42 committed Apr 7, 2013
1 parent adba653 commit a537b5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/gg2/Scripts/toggleZoom.gml
Expand Up @@ -3,8 +3,12 @@ with(argument0) {
if(zoomed) {
runPower = 0.6;
jumpStrength = 6;
with(currentWeapon)
hitDamage = baseDamage;
} else {
runPower = 0.9;
jumpStrength = 8;
with(currentWeapon)
hitDamage = unscopedDamage;
}
}

0 comments on commit a537b5a

Please sign in to comment.