From d3f5cc47ed5018ba17aea6ae870d5963afaaf15f Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sun, 18 Oct 2026 18:06:25 +0200 Subject: [PATCH] feat(recorder): pass save tag to extension on :MISSION:SAVE: Send the effective save tag (explicit OCAP_exportData override, else the OCAP_settings_saveTag setting) as the first :MISSION:SAVE: arg so the extension can forward it on the streaming end_mission envelope as {"tag":"..."} (OCAP2/extension#213, OCAP2/web#571). Extensions built before the arg parse ignore :MISSION:SAVE: args, so this degrades silently to today's behavior. --- addons/recorder/fnc_exportData.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/recorder/fnc_exportData.sqf b/addons/recorder/fnc_exportData.sqf index ef70b9e..8ce1c9c 100644 --- a/addons/recorder/fnc_exportData.sqf +++ b/addons/recorder/fnc_exportData.sqf @@ -137,7 +137,7 @@ INFO_3("Saving recording — mission: %1 | frames: %2 | tag: %3",GVAR(missionNam // The final success/failure notification is driven from that callback in // fnc_initSession.sqf. INFO_2("Mission save queued — mission: %1 | frames: %2",GVAR(missionName),_endFrameNumber); -[":MISSION:SAVE:", []] call EFUNC(extension,sendData); +[":MISSION:SAVE:", [_saveTag]] call EFUNC(extension,sendData); OCAPEXTLOG(ARR4("Queued recording of mission",GVAR(missionName),"with tag",_saveTag)); // Interim "saving..." toast; the final result comes from :MISSION:SAVED: