ACE3/addons/winddeflection/XEH_postInit.sqf
2015-09-11 16:58:26 +02:00

14 lines
275 B
Plaintext

#include "script_component.hpp"
if (!hasInterface) exitWith {};
GVAR(trackedBullets) = [];
["SettingsInitialized", {
//If not enabled, dont't add PFEH
if (!GVAR(enabled)) exitWith {};
[] call FUNC(updateTrajectoryPFH);
}] call EFUNC(common,addEventHandler);