Skip to content

Commit

Permalink
Medical Treatment - Remove early exit when stitching with sutures (#9243
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LinkIsGrim authored Jul 7, 2023
1 parent 0e26755 commit 45af0cd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 45af0cd

Please sign in to comment.