From b7872868374ed63fd40809ca4cdd9ca2f57e8666 Mon Sep 17 00:00:00 2001 From: jonpas Date: Sat, 26 Sep 2015 23:02:18 +0200 Subject: [PATCH] Fixed allowed data types --- addons/slideshow/functions/fnc_createSlideshow.sqf | 10 +++++----- addons/slideshow/functions/fnc_moduleInit.sqf | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/slideshow/functions/fnc_createSlideshow.sqf b/addons/slideshow/functions/fnc_createSlideshow.sqf index a1040d936f..18cdfe5211 100644 --- a/addons/slideshow/functions/fnc_createSlideshow.sqf +++ b/addons/slideshow/functions/fnc_createSlideshow.sqf @@ -21,11 +21,11 @@ private ["_currentSlideshow", "_slidesAction", "_varString"]; params [ - ["_objects", [], []], - ["_controllers", [], []], - ["_images", [], []], - ["_names", [], []], - ["_duration", 0, 0] + ["_objects", [], [[]] ], + ["_controllers", [], [[]] ], + ["_images", [], [[]] ], + ["_names", [], [[]] ], + ["_duration", 0, [0]] ]; // Verify data diff --git a/addons/slideshow/functions/fnc_moduleInit.sqf b/addons/slideshow/functions/fnc_moduleInit.sqf index 83a82257b6..f09dab678d 100644 --- a/addons/slideshow/functions/fnc_moduleInit.sqf +++ b/addons/slideshow/functions/fnc_moduleInit.sqf @@ -39,4 +39,4 @@ _duration = _logic getVariable ["Duration", 0]; // Prepare with actions [_objects, _controllers, _images, _names, _duration] call FUNC(createSlideshow); -ACE_LOGINFO_2("Slideshow Module Initialized for: %1 with Duration: %2", _objects, _duration); +ACE_LOGINFO_1("Slideshow Module Initialized on %1 Objects", count _objects);