Medical - Return tourniquets after PAK (#8419)

This commit is contained in:
GhostIsSpooky 2021-10-10 19:34:28 -03:00 committed by GitHub
parent 4f0fea8d67
commit e92ea53385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,11 @@ _patient setVariable [VAR_PAIN, 0, true];
_patient setVariable [VAR_BLOOD_VOL, DEFAULT_BLOOD_VOLUME, true];
// Tourniquets
{
if (_x != 0) then {
[_patient, "ACE_tourniquet"] call EFUNC(common,addToInventory);
};
} forEach GET_TOURNIQUETS(_patient);
_patient setVariable [VAR_TOURNIQUET, DEFAULT_TOURNIQUET_VALUES, true];
_patient setVariable [QGVAR(occludedMedications), nil, true];