Merge pull request #2408 from acemod/FixRTPinMDAGR

Posible fix for #2407
This commit is contained in:
PabstMirror 2015-09-14 16:01:55 -05:00
commit cbc86a1280

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");};