mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - Prevent packing into bodybag for bodies in vehicle (#7731)
* Prevent packing into bodybag for bodies in vehicle * Fix comment
This commit is contained in:
parent
19523f028a
commit
6fb8991bd6
@ -245,7 +245,9 @@ class GVAR(actions) {
|
||||
medicRequired = 0;
|
||||
treatmentTime = 15;
|
||||
items[] = {"ACE_bodyBag"};
|
||||
condition = QUOTE(!alive _patient);
|
||||
// 'vehicle _patient' always returns the body
|
||||
// '_patient in _patient' always false for body
|
||||
condition = QUOTE(!alive _patient && {isNull objectParent _patient});
|
||||
callbackSuccess = QFUNC(placeInBodyBag);
|
||||
consumeItem = 1;
|
||||
litter[] = {};
|
||||
|
Loading…
Reference in New Issue
Block a user