浏览代码

Fix reload event call

m3ales 4 年之前
父节点
当前提交
35934f88c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      addons - Copy/RD501_Main/functions/external_reload/fnc_reloadExternal.sqf

+ 1 - 1
addons - Copy/RD501_Main/functions/external_reload/fnc_reloadExternal.sqf

@@ -28,7 +28,7 @@ _magazine = _magazine select 0;
 private _onFinish = {
     (_this select 0) params ["_player", "_target", "_magazine", "_ammoAmount"];
 	[_player, _magazine, _ammoAmount] call ace_common_fnc_removeSpecificMagazine;
-	["rd501_external_reload", [_target, _magazine, _ammoAmount], [_target]] call CBA_fnc_targetEvent;
+	["rd501_external_reload", [_target, _magazine, _ammoAmount], _target] call CBA_fnc_targetEvent;
 	[format["Reload Complete"], true, 4, 0] call ace_common_fnc_displayText;
     [_player, "AmovPknlMstpSrasWrflDnon", 1] call ace_common_fnc_doAnimation;
 };