Change ACE_Player to _unit

This commit is contained in:
VKing 2016-01-06 18:05:06 +01:00
parent 4c229c92f5
commit 9985988987
2 changed files with 6 additions and 6 deletions

View File

@ -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
]; ];
}; };

View File

@ -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;