fixed incorrect private var name

This commit is contained in:
Glowbal 2015-05-15 09:25:57 +02:00 committed by KoffeinFlummi
parent c76e22463a
commit 2621c5a36c

View File

@ -27,7 +27,7 @@ if ([_unit] call FUNC(hasMedicalEnabled) || _force) then {
_unit setvariable [QGVAR(addedToUnitLoop), true, true];
[{
private ["_unit", "_lastTime"];
private ["_unit", "_interval"];
_unit = (_this select 0) select 0;
_interval = time - (_this select 0) select 1;
(_this select 0) set [1, time];