Medical Treatment - Remove early exit when stitching with sutures (#9243)

This commit is contained in:
Grim 2023-07-07 08:19:45 +03:00 committed by GitHub
parent 0e26755b88
commit 45af0cdca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,9 +83,7 @@ if (
};
// Consume a suture for the next wound if one exists, stop stitching if none are left
if (GVAR(consumeSurgicalKit) == 2) then {
// Don't consume a suture if there are no more wounds to stitch
if (_bandagedWoundsOnPart isEqualTo []) exitWith {false};
if (GVAR(consumeSurgicalKit) == 2 && {_bandagedWoundsOnPart isNotEqualTo []}) then {
([_medic, _patient, ["ACE_suture"]] call FUNC(useItem)) params ["_user"];
!isNull _user
} else {