Update addons/aircraft/XEH_preInit.sqf

Co-Authored-By: commy2 <commy-2@gmx.de>
This commit is contained in:
PabstMirror 2019-05-03 19:13:54 +02:00 committed by GitHub
parent 585e919b35
commit e4c9440c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
if (hasInterface) exitWith {
if (hasInterface) then {
["CBA_settingsInitialized", {
private _ejectAction = configFile >> "CfgActions" >> "Eject";
private _hideEjectAction = missionNamespace getVariable [QEGVAR(vehicles,hideEjectAction), false];