getting PFH to work on briefing screen, review

This commit is contained in:
commy2 2015-01-19 17:47:52 +01:00
parent fc3c73a174
commit 97ee63a349

View File

@ -1,6 +1,16 @@
// ACE - Common
#include "script_component.hpp"
// hack to get PFH to work in briefing
[QGVAR(onBriefingPFH), "onEachFrame", {
if (time > 0) exitWith {
[QGVAR(onBriefingPFH), "onEachFrame"] call BIS_fnc_removeStackedEventHandler;
};
call cba_common_fnc_onFrame;
}] call BIS_fnc_addStackedEventHandler;
/////
QGVAR(remoteFnc) addPublicVariableEventHandler {
(_this select 1) call FUNC(execRemoteFnc);
};