mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix jerry can refuel interaction overlapping (#5107)
This commit is contained in:
parent
a08ed0e307
commit
8dde674105
@ -36,7 +36,7 @@ private _action = [QGVAR(Refuel),
|
|||||||
[],
|
[],
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
||||||
[_target, 0, [], _action] call EFUNC(interact_menu,addActionToObject);
|
[_target, 0, ["ACE_MainActions"], _action] call EFUNC(interact_menu,addActionToObject);
|
||||||
|
|
||||||
// Add pickup
|
// Add pickup
|
||||||
_action = [QGVAR(PickUpNozzle),
|
_action = [QGVAR(PickUpNozzle),
|
||||||
@ -48,7 +48,7 @@ _action = [QGVAR(PickUpNozzle),
|
|||||||
[],
|
[],
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
||||||
[_target, 0, [QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
[_target, 0, ["ACE_MainActions", QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
||||||
|
|
||||||
// Add turnOn
|
// Add turnOn
|
||||||
_action = [QGVAR(TurnOn),
|
_action = [QGVAR(TurnOn),
|
||||||
@ -60,7 +60,7 @@ _action = [QGVAR(TurnOn),
|
|||||||
[],
|
[],
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
||||||
[_target, 0, [QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
[_target, 0, ["ACE_MainActions", QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
||||||
|
|
||||||
// Add turnOff
|
// Add turnOff
|
||||||
_action = [QGVAR(TurnOff),
|
_action = [QGVAR(TurnOff),
|
||||||
@ -72,7 +72,7 @@ _action = [QGVAR(TurnOff),
|
|||||||
[],
|
[],
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
||||||
[_target, 0, [QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
[_target, 0, ["ACE_MainActions", QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
||||||
|
|
||||||
// Add disconnect
|
// Add disconnect
|
||||||
_action = [QGVAR(Disconnect),
|
_action = [QGVAR(Disconnect),
|
||||||
@ -84,4 +84,4 @@ _action = [QGVAR(Disconnect),
|
|||||||
[],
|
[],
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
REFUEL_ACTION_DISTANCE] call EFUNC(interact_menu,createAction);
|
||||||
[_target, 0, [QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
[_target, 0, ["ACE_MainActions", QGVAR(Refuel)], _action] call EFUNC(interact_menu,addActionToObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user