mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Made unit loop flag public
This commit is contained in:
parent
29c4676b20
commit
1337c2c562
@ -17,7 +17,7 @@ if !(local _unit) exitwith{
|
||||
};
|
||||
|
||||
if !(_unit getvariable[QGVAR(addedToUnitLoop),false]) then{
|
||||
_unit setvariable [QGVAR(addedToUnitLoop),true];
|
||||
_unit setvariable [QGVAR(addedToUnitLoop),true, true];
|
||||
};
|
||||
|
||||
if ([_unit] call FUNC(hasMedicalEnabled)) then {
|
||||
@ -28,4 +28,4 @@ if ([_unit] call FUNC(hasMedicalEnabled)) then {
|
||||
GVAR(injuredUnitCollection) pushback _unit;
|
||||
} else {
|
||||
systemChat format["has no medical system enabled: %1",_unit];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user