conform isnil checking: interact_menu

This commit is contained in:
Whigital 2020-02-11 23:43:08 +01:00
parent b8329e8937
commit 1def9cbcb7
3 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@ if (_target isEqualType objNull) then {
private _namespace = GVAR(ActNamespace); private _namespace = GVAR(ActNamespace);
// Exit if the action menu is already compiled for this class // Exit if the action menu is already compiled for this class
if !(isNil {_namespace getVariable _objectType}) exitWith {}; if (!isNil {_namespace getVariable _objectType}) exitWith {};
if (_objectType isKindOf "VirtualMan_F") exitWith { // these have config: isPlayableLogic = 1 if (_objectType isKindOf "VirtualMan_F") exitWith { // these have config: isPlayableLogic = 1
TRACE_1("skipping playable logic",_objectType); TRACE_1("skipping playable logic",_objectType);

View File

@ -24,7 +24,7 @@ if (_target isEqualType objNull) then {
private _namespace = GVAR(ActSelfNamespace); private _namespace = GVAR(ActSelfNamespace);
// Exit if the action menu is already compiled for this class // Exit if the action menu is already compiled for this class
if !(isNil {_namespace getVariable _objectType}) exitWith {}; if (!isNil {_namespace getVariable _objectType}) exitWith {};
private _recurseFnc = { private _recurseFnc = {

View File

@ -16,7 +16,7 @@
*/ */
// Exit if the action menu is already compiled for zeus // Exit if the action menu is already compiled for zeus
if !(isNil {missionNamespace getVariable [QGVAR(ZeusActions), nil]}) exitWith {}; if (!isNil {missionNamespace getVariable [QGVAR(ZeusActions), nil]}) exitWith {};
private _recurseFnc = { private _recurseFnc = {
params ["_actionsCfg"]; params ["_actionsCfg"];