still testing

This commit is contained in:
2024-02-09 21:37:59 -08:00
parent e0e06eff5e
commit 032377d7f6
24 changed files with 685 additions and 390 deletions

View File

@@ -2,13 +2,6 @@
if ( !hasInterface ) exitWith {};
["milsim_logText", {
params [["_strArray", [""], [[]]]];
{
diag_log text _x;
} forEach _strArray;
}] call CBA_fnc_addEventHandler;
// make sure the server has finished init
waitUntil {!isNil QGVARMAIN(complete)};
@@ -23,7 +16,7 @@ EGVAR(common,diaryRecords) = createHashMap;
// initialize other modules
call EFUNC(emp,initClient);
call EFUNC(emp,init);
call EFUNC(mapcopy,initClient);
call EFUNC(reinsert,initClient);
call EFUNC(resupply,initClient);

View File

@@ -9,20 +9,11 @@ publicVariable QGVARMAIN(baseObjects);
// Initializes the Dynamic Groups framework and groups
["Initialize", [true]] call BIS_fnc_dynamicGroups;
if (isDedicated) then {
["milsim_logText", {
params [["_strArray", [""], [[]]]];
{
diag_log text _x;
} forEach _strArray;
}] call CBA_fnc_addEventHandler;
};
// initialize other modules
call EFUNC(common,logMissionInfo);
call EFUNC(fbcb2_assets,initServer);
call EFUNC(reinsert,initServer);
call EFUNC(emp,init);
// declare init complete to other modules
missionNamespace setVariable [QGVARMAIN(complete), true, true];