mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Filter player medics (#4444)
This commit is contained in:
parent
c395af4c21
commit
b1f6973772
@ -19,7 +19,7 @@
|
||||
if ([_this] call EFUNC(medical,isMedic) || {vehicle _this != _this}) exitWith {false};
|
||||
|
||||
{
|
||||
if ([_x] call EFUNC(medical,isMedic)) exitWith {
|
||||
if ([_x] call EFUNC(medical,isMedic) && {!([_x] call EFUNC(common,isPlayer))}) exitWith {
|
||||
_this setVariable [QGVAR(assignedMedic), _x];
|
||||
true
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user