Posible fix for #2407

This commit is contained in:
jokoho48 2015-09-12 18:12:57 +02:00
parent bda41f2cd1
commit 5feee53c69

View File

@ -18,7 +18,7 @@
private ["_display", "_wpIndex"];
disableSerialization;
_display = uiNamespace getVariable [[QGVAR(RscTitleDisplay), QGVAR(DialogDisplay)] select GVAR(currentShowMode) == DISPLAY_MODE_DIALOG, displayNull];
_display = uiNamespace getVariable [[QGVAR(RscTitleDisplay), QGVAR(DialogDisplay)] select (GVAR(currentShowMode) == DISPLAY_MODE_DIALOG), displayNull];
if (isNull _display) exitWith {ERROR("No Display");};