mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Casings - Fix settings (#10110)
This commit is contained in:
parent
edc7e9af3e
commit
f65138f65e
@ -1,7 +1,12 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
if (!hasInterface || !GVAR(enabled)) exitWith {};
|
if (!hasInterface) exitWith {};
|
||||||
|
|
||||||
GVAR(cachedCasings) = createHashMap;
|
["CBA_settingsInitialized", {
|
||||||
GVAR(casings) = [];
|
if (!GVAR(enabled)) exitWith {};
|
||||||
["CAManBase", "FiredMan", LINKFUNC(createCasing)] call CBA_fnc_addClassEventHandler;
|
|
||||||
|
GVAR(cachedCasings) = createHashMap;
|
||||||
|
GVAR(casings) = [];
|
||||||
|
|
||||||
|
["CAManBase", "FiredMan", LINKFUNC(createCasing)] call CBA_fnc_addClassEventHandler;
|
||||||
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
Loading…
Reference in New Issue
Block a user