Medical Treatment - Enforce bandage effectiveness variable type (#9950)

Enforce bandage effectiveness variable type
This commit is contained in:
johnb432 2024-04-16 22:33:40 +02:00 committed by GitHub
parent b637a0ea09
commit dda6b9d2dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;