mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Always allow the use of tourniquets
* Even when advanced bandages are turned off
This commit is contained in:
parent
91cbc0e4d4
commit
9ddaa01462
@ -77,7 +77,7 @@ class GVAR(Actions) {
|
||||
items[] = {"ACE_tourniquet"};
|
||||
treatmentTime = 7;
|
||||
callbackSuccess = QFUNC(treatmentTourniquet);
|
||||
condition = QUOTE(EGVAR(medical,advancedBandages) && {!([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo))});
|
||||
condition = QUOTE(!([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo)));
|
||||
litter[] = {};
|
||||
};
|
||||
class RemoveTourniquet: Tourniquet {
|
||||
@ -85,7 +85,7 @@ class GVAR(Actions) {
|
||||
displayNameProgress = ECSTRING(medical,RemovingTourniquet);
|
||||
items[] = {};
|
||||
callbackSuccess = QFUNC(treatmentTourniquetRemove);
|
||||
condition = QUOTE(EGVAR(medical,advancedBandages) && {[ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo)});
|
||||
condition = QUOTE([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo));
|
||||
};
|
||||
|
||||
// --- syringes
|
||||
|
Loading…
Reference in New Issue
Block a user