Files
MissionTemplate/framework/fbcb2_assets/functions/fn_initClient.sqf

10 lines
373 B
Plaintext

#include "..\script_component.hpp"
if (!hasInterface) exitWith {};
// 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;