Update fnc_getBandageTime.sqf

This commit is contained in:
PabstMirror 2019-05-12 10:38:18 -05:00
parent eef9a37ba9
commit 940de99cc5

View File

@ -21,7 +21,7 @@
params ["_medic", "_patient", "_bodypart", "_bandage"]; params ["_medic", "_patient", "_bodypart", "_bandage"];
private _partIndex = ALL_BODY_PARTS find toLower _bodyPart; private _partIndex = ALL_BODY_PARTS find toLower _bodyPart;
if (_partIndex < 0) exitWith { ERROR_1("invalid bodyPart %1",_bodyPart); }; if (_partIndex < 0) exitWith { 0 };
private _targetWound = [_patient, _bandage, _partIndex] call FUNC(findMostEffectiveWound); private _targetWound = [_patient, _bandage, _partIndex] call FUNC(findMostEffectiveWound);
_targetWound params ["_wound", "_woundIndex", "_effectiveness"]; _targetWound params ["_wound", "_woundIndex", "_effectiveness"];