mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix debug msg order, re-add local check on eh
This commit is contained in:
parent
a875d6a870
commit
893c6658a5
@ -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);};);
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user