Fixed no interaction menu support condition

This commit is contained in:
jonpas 2015-08-07 19:36:10 +02:00
parent 8b802006a4
commit 256536467b

View File

@ -53,7 +53,7 @@ private ["_currentSlideshow"];
_currentSlideshow = GVAR(slideshows); // Local variable in case GVAR gets changed during execution of below code _currentSlideshow = GVAR(slideshows); // Local variable in case GVAR gets changed during execution of below code
// If interaction menu module is not present, set default duration value // If interaction menu module is not present, set default duration value
if (["ace_interact_menu"] call EFUNC(common,isModLoaded)) then { if !(["ace_interact_menu"] call EFUNC(common,isModLoaded)) then {
_duration = 5; _duration = 5;
diag_log text format ["[ACE]: Slideshow: Interaction Menu module not present, defaulting duration value to %1", _duration]; diag_log text format ["[ACE]: Slideshow: Interaction Menu module not present, defaulting duration value to %1", _duration];
}; };