mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_getBandageTime.sqf
This commit is contained in:
parent
eef9a37ba9
commit
940de99cc5
@ -21,7 +21,7 @@
|
||||
params ["_medic", "_patient", "_bodypart", "_bandage"];
|
||||
|
||||
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);
|
||||
_targetWound params ["_wound", "_woundIndex", "_effectiveness"];
|
||||
|
Loading…
Reference in New Issue
Block a user