compatibility with CBA disposable framework

This commit is contained in:
commy2 2019-04-19 14:33:57 +02:00
parent 17f4af37fa
commit 07ee2c1d3d

View File

@ -62,11 +62,13 @@ call FUNC(compileStats);
// compatibility with CBA scripted 2d optics framework
[QGVAR(displayOpened), {
"cba_2doptics_arsenalOpened" call CBA_fnc_localEvent;
"cba_optics_arsenalOpened" call CBA_fnc_localEvent;
"cba_disposable_arsenalOpened" call CBA_fnc_localEvent;
}] call CBA_fnc_addEventHandler;
[QGVAR(displayClosed), {
"cba_2doptics_arsenalClosed" call CBA_fnc_localEvent;
"cba_optics_arsenalClosed" call CBA_fnc_localEvent;
"cba_disposable_arsenalClosed" call CBA_fnc_localEvent;
}] call CBA_fnc_addEventHandler;
ADDON = true;