mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
595 B
Plaintext
15 lines
595 B
Plaintext
|
#include "script_component.hpp"
|
||
|
|
||
|
// clan logos are not used in singleplayer
|
||
|
if (!isMultiplayer) exitWith {};
|
||
|
|
||
|
["CBA_settingsInitialized", {
|
||
|
TRACE_1("settingsInit eh",GVAR(enabled));
|
||
|
|
||
|
if (isServer && {GVAR(enabled)}) then {
|
||
|
["LandVehicle", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
||
|
["Air", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
||
|
["Ship", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
||
|
};
|
||
|
}] call CBA_fnc_addEventHandler;
|