mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
cleanup switchunits
This commit is contained in:
parent
cf0b2c2a52
commit
0bd358c415
@ -1,12 +1,11 @@
|
|||||||
class Extended_PreInit_EventHandlers {
|
class Extended_PreInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
|
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class Extended_PostInit_EventHandlers {
|
class Extended_PostInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
clientInit = QUOTE( call COMPILE_FILE(XEH_clientInit) );
|
init = QUOTE( call COMPILE_FILE(XEH_postInit) );
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
|
||||||
if (missionNamespace getVariable [QGVAR(EnableSwitchUnits), false]) then {
|
if (missionNamespace getVariable [QGVAR(EnableSwitchUnits), false]) then {
|
||||||
[player] call FUNC(startSwitchUnits);
|
[player] call FUNC(startSwitchUnits);
|
||||||
} else {
|
} else {
|
Loading…
Reference in New Issue
Block a user