Skip to content

Commit

Permalink
Misc - Fix Full Body Stitch not working while sutures are needed (#707)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- Title

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
MiszczuZPolski authored Jan 19, 2025
1 parent 0cf0287 commit 71a65bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/misc/functions/fnc_canStitchFullBody.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
params ["_medic", "_patient"];

if !(GVAR(enableStitchFullBody)) exitWith {false};
if ((ACEGVAR(medical_treatment,consumeSurgicalKit) == 2) && {!([_medic, _patient, ["ACE_Suture"]] call ACEFUNC(medical_treatment,hasItem))}) exitWith {false};
if ((ACEGVAR(medical_treatment,consumeSurgicalKit) == 2) && {!([_medic, _patient, ["ACE_suture"]] call ACEFUNC(medical_treatment,hasItem))}) exitWith {false};

count (_patient call FUNC(getFullBodyStitchableWounds)) > 0

0 comments on commit 71a65bb

Please sign in to comment.