diff --git a/addons/slideshow/functions/fnc_moduleInit.sqf b/addons/slideshow/functions/fnc_moduleInit.sqf index 50de48693e..54f04b3a16 100644 --- a/addons/slideshow/functions/fnc_moduleInit.sqf +++ b/addons/slideshow/functions/fnc_moduleInit.sqf @@ -33,6 +33,12 @@ _images = [_logic getVariable ["Images", ""], true, false] call FUNC(makeList); _names = [_logic getVariable ["Names", ""], true, false] call FUNC(makeList); _duration = _logic getVariable ["Duration", 0]; +// If interaction menu module is not present, set default duration value +if (["ace_interact_menu"] call EFUNC(common,isModLoaded)) then { + _duration = 5; + diag_log "[ACE]: ace_interact_menu not present, assuming default Slideshow duration value."; +}; + // Prepare with actions [_objects, _controllers, _images, _names, _duration] call FUNC(createSlideshow);