mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical AI - Fix specific treatment items not being removed (#10179)
Fix treatment items not being removed Bug introduced in #10158
This commit is contained in:
parent
9e4bcc5d72
commit
d7c98ea366
@ -37,9 +37,10 @@ if (_finishTime > 0) exitWith {
|
|||||||
_treatmentEvent = "#fail";
|
_treatmentEvent = "#fail";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_healer removeItem _itemClassname;
|
||||||
|
_usedItem = _itemClassname;
|
||||||
|
|
||||||
if (_treatmentClass != "") then {
|
if (_treatmentClass != "") then {
|
||||||
_healer removeItem _itemClassname;
|
|
||||||
_usedItem = _itemClassname;
|
|
||||||
_treatmentArgs set [2, _treatmentClass];
|
_treatmentArgs set [2, _treatmentClass];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user