mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
conform isnil checking: interact_menu
This commit is contained in:
parent
b8329e8937
commit
1def9cbcb7
@ -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);
|
||||||
|
@ -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 = {
|
||||||
|
@ -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"];
|
||||||
|
Loading…
Reference in New Issue
Block a user