cleanup switchunits

This commit is contained in:
bux578 2015-06-02 19:06:41 +02:00
parent cf0b2c2a52
commit 0bd358c415
4 changed files with 8 additions and 8 deletions

View File

@ -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) );
}; };
}; };

View File

@ -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 {