Merge pull request #6921 from acemod/compatCBA2DOptics

compatibility with CBA scripted 2d optics framework
This commit is contained in:
Josuan Albin 2019-04-03 20:46:36 +02:00 committed by GitHub
commit d2172c5060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,4 +60,13 @@ GVAR(modList) = ["","curator","kart","heli","mark","expansion","expansionpremium
call FUNC(compileStats);
// compatibility with CBA scripted 2d optics framework
[QGVAR(displayOpened), {
"cba_2doptics_arsenalOpened" call CBA_fnc_localEvent;
}] call CBA_fnc_addEventHandler;
[QGVAR(displayClosed), {
"cba_2doptics_arsenalClosed" call CBA_fnc_localEvent;
}] call CBA_fnc_addEventHandler;
ADDON = true;