mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed no interaction menu support condition
This commit is contained in:
parent
8b802006a4
commit
256536467b
@ -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];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user