ACE3/addons/mk6mortar/XEH_initPost.sqf

17 lines
379 B
Plaintext
Raw Normal View History

2015-12-19 01:18:35 +00:00
#include "script_component.hpp"
params ["_mortar"];
TRACE_1("",_mortar);
if (gunner _mortar != player) exitWith {LOG("Exit")};
if (!EGVAR(common,settingsInitFinished)) exitWith {
EGVAR(common,runAtSettingsInitialized) pushBack [{
if (GVAR(useAmmoHandling)) then {
2015-12-19 15:37:30 +00:00
_this call FUNC(mortarInit);
};
}, _this];
};
_this call FUNC(mortarInit);