Skip to content

Commit

Permalink
fix undefined var
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkIsGrim authored Jan 4, 2025
1 parent f642f72 commit 09ce2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/breathing/functions/fnc_woundsHandlerPulmoHit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (_engineDamage < GVAR(pneumothoraxDamageThreshold) || _unit getVariable ["KAT

private _chanceIncrease = 0;
if (GVAR(pneumothoraxDamageThreshold_TakenDamage)) then {
_chanceIncrease = linearConversion [GVAR(pneumothoraxDamageThreshold), 3, _damage, 0, 30, true];
_chanceIncrease = linearConversion [GVAR(pneumothoraxDamageThreshold), 3, _engineDamage, 0, 30, true];
};

// Damage threshold passed & pneumothorax given
Expand Down

0 comments on commit 09ce2c3

Please sign in to comment.