Made unit loop flag public

This commit is contained in:
Glowbal 2015-01-20 11:36:52 +01:00
parent 29c4676b20
commit 1337c2c562

View File

@ -17,7 +17,7 @@ if !(local _unit) exitwith{
}; };
if !(_unit getvariable[QGVAR(addedToUnitLoop),false]) then{ if !(_unit getvariable[QGVAR(addedToUnitLoop),false]) then{
_unit setvariable [QGVAR(addedToUnitLoop),true]; _unit setvariable [QGVAR(addedToUnitLoop),true, true];
}; };
if ([_unit] call FUNC(hasMedicalEnabled)) then { if ([_unit] call FUNC(hasMedicalEnabled)) then {
@ -28,4 +28,4 @@ if ([_unit] call FUNC(hasMedicalEnabled)) then {
GVAR(injuredUnitCollection) pushback _unit; GVAR(injuredUnitCollection) pushback _unit;
} else { } else {
systemChat format["has no medical system enabled: %1",_unit]; systemChat format["has no medical system enabled: %1",_unit];
}; };