From 1cec4400b3957ca071c45b76bcbad149e4c7beaf Mon Sep 17 00:00:00 2001 From: Michael Braun Date: Fri, 7 Aug 2015 15:44:41 +0200 Subject: [PATCH] Missing count replacement in slideshow module --- addons/slideshow/functions/fnc_autoTransition.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/slideshow/functions/fnc_autoTransition.sqf b/addons/slideshow/functions/fnc_autoTransition.sqf index c754a2f6ff..d482c8ce58 100644 --- a/addons/slideshow/functions/fnc_autoTransition.sqf +++ b/addons/slideshow/functions/fnc_autoTransition.sqf @@ -34,7 +34,7 @@ missionNamespace setVariable [_varString, _currentSlide]; // Set slide { _x setObjectTextureGlobal [0, _images select _currentSlide]; -} forEach _objects; +} count _objects; TRACE_4("Auto-transition",_images select _currentSlide,_currentSlide,count _images,_duration);