mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed script error when canceling treatment actions
This commit is contained in:
parent
4bde554854
commit
8c6f896164
@ -19,7 +19,7 @@
|
||||
|
||||
private ["_config", "_callback", "_weaponSelect", "_lastAnim"];
|
||||
params ["_args"];
|
||||
_args params ["_caller", "_target", "_selectionName", "_className", "_usersOfItems"];
|
||||
_args params ["_caller", "_target", "_selectionName", "_className", "_items", "_usersOfItems"];
|
||||
|
||||
if (primaryWeapon _caller == "ACE_FakePrimaryWeapon") then {
|
||||
_caller removeWeapon "ACE_FakePrimaryWeapon";
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
private ["_config", "_callback", "_weaponSelect", "_lastAnim"];
|
||||
params ["_args"];
|
||||
_args params ["_caller", "_target","_selectionName","_className"];
|
||||
_args params ["_caller", "_target","_selectionName","_className", "_items", "_usersOfItems"];
|
||||
|
||||
if (primaryWeapon _caller == "ACE_FakePrimaryWeapon") then {
|
||||
_caller removeWeapon "ACE_FakePrimaryWeapon";
|
||||
|
Loading…
Reference in New Issue
Block a user