mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Change ACE_Player to _unit
This commit is contained in:
parent
4c229c92f5
commit
9985988987
@ -43,10 +43,10 @@ _explosivesList = [];
|
|||||||
{(_this select 2) call FUNC(detonateExplosive);},
|
{(_this select 2) call FUNC(detonateExplosive);},
|
||||||
{true},
|
{true},
|
||||||
{},
|
{},
|
||||||
[ACE_player,_range,_x]
|
[_unit,_range,_x]
|
||||||
] call EFUNC(interact_menu,createAction),
|
] call EFUNC(interact_menu,createAction),
|
||||||
[],
|
[],
|
||||||
ACE_Player
|
_unit
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -62,10 +62,10 @@ if (count _explosivesList > 0) then {
|
|||||||
{(_this select 2) call FUNC(detonateExplosiveAll);},
|
{(_this select 2) call FUNC(detonateExplosiveAll);},
|
||||||
{true},
|
{true},
|
||||||
{},
|
{},
|
||||||
[ACE_player,_range,_explosivesList]
|
[_unit,_range,_explosivesList]
|
||||||
] call EFUNC(interact_menu,createAction),
|
] call EFUNC(interact_menu,createAction),
|
||||||
[],
|
[],
|
||||||
ACE_Player
|
_unit
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,10 +33,10 @@ _children = [];
|
|||||||
{},
|
{},
|
||||||
{true},
|
{true},
|
||||||
{(_this select 2) call FUNC(addDetonateActions);},
|
{(_this select 2) call FUNC(addDetonateActions);},
|
||||||
[ACE_player,_x]
|
[_unit,_x]
|
||||||
] call EFUNC(interact_menu,createAction),
|
] call EFUNC(interact_menu,createAction),
|
||||||
[],
|
[],
|
||||||
ACE_Player
|
_unit
|
||||||
];
|
];
|
||||||
} forEach _detonators;
|
} forEach _detonators;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user