Fix debug msg order, re-add local check on eh

This commit is contained in:
PabstMirror 2016-01-16 17:29:57 -06:00
parent a875d6a870
commit 893c6658a5
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class Extended_PostInit_EventHandlers {
class Extended_FiredBIS_EventHandlers {
class CAManBase {
class ADDON {
clientFiredBIS = QUOTE(_this call FUNC(firedEHBB););
clientFiredBIS = QUOTE(if (local (_this select 0)) then {_this call FUNC(firedEHBB);};);
};
};

View File

@ -49,9 +49,9 @@ private _return = [
(getNumber (_config >> QGVAR(range))),
(getNumber (_config >> QGVAR(damage)))
];
TRACE_2("Return",_varName,_return);
private _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine];
missionNameSpace setVariable [format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine], _return];
TRACE_2("Return",_varName,_return);
_return