Skip to content

Commit

Permalink
Medical Treatment - Enforce bandage effectiveness variable type (#9950)
Browse files Browse the repository at this point in the history
Enforce bandage effectiveness variable type
  • Loading branch information
johnb432 authored Apr 16, 2024
1 parent b637a0e commit dda6b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_treatment/functions/fnc_bandageLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Public: No
*/

params ["_patient", "_bodyPart", "_bandage", ["_bandageEffectiveness", 1]];
params ["_patient", "_bodyPart", "_bandage", ["_bandageEffectiveness", 1, [0]]];
TRACE_4("bandageLocal",_patient,_bodyPart,_bandage,_bandageEffectiveness);
_bodyPart = toLowerANSI _bodyPart;

Expand Down

0 comments on commit dda6b9d

Please sign in to comment.