diff --git a/SQF/dayz_code/compile/local_lights_init.sqf b/SQF/dayz_code/compile/local_lights_init.sqf index 53e3a263f..424b146c0 100644 --- a/SQF/dayz_code/compile/local_lights_init.sqf +++ b/SQF/dayz_code/compile/local_lights_init.sqf @@ -137,7 +137,7 @@ if(isServer)then{ }; }; sleep 0.001; - } count _missonLights; + } forEach _missonLights; if (_delQtyLights > 0) then { _qty = count _missonLights; diag_log (format["CLEANUP: Deleted %1 Lights out of %2",_delQtyLights,_qty]);