ready for dedi -- improvements to resupply, triageIcons too
This commit is contained in:
@@ -2,15 +2,27 @@
|
||||
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
call FUNC(updateAssetDiary);
|
||||
|
||||
// once the server has published that assets have been gathered and distributed to bases (respawn modules),
|
||||
// we can update the asset diary on our end using that data
|
||||
[{missionNamespace getVariable [QGVAR(serverAssetsReady), false]}, {
|
||||
call FUNC(updateAssetDiary);
|
||||
}] call CBA_fnc_waitUntilAndExecute;
|
||||
[QGVAR(assetsGathered), {
|
||||
[
|
||||
LEVEL_DEBUG,
|
||||
QUOTE(COMPONENT),
|
||||
"Received gathered base asset data from server",
|
||||
[]
|
||||
] call EFUNC(common,log);
|
||||
|
||||
// update the asset diary with the data we've received
|
||||
FUNC(updateAssetDiary);
|
||||
}] call CBA_fnc_addEventHandlerArgs;
|
||||
|
||||
[
|
||||
LEVEL_DEBUG,
|
||||
QUOTE(COMPONENT),
|
||||
"postInit complete",
|
||||
[]
|
||||
] call EFUNC(common,log);
|
||||
] call EFUNC(common,log);
|
||||
|
||||
localNamespace setVariable [QGVAR(complete), true];
|
||||
Reference in New Issue
Block a user