diff --git a/code/modules/lootpanel/ui.dm b/code/modules/lootpanel/ui.dm index c7f0cf2358d..14d41b02b79 100644 --- a/code/modules/lootpanel/ui.dm +++ b/code/modules/lootpanel/ui.dm @@ -36,6 +36,11 @@ modifiers += "middle=1;" if(params["shift"]) modifiers += "shift=1;" + if(params["alt"]) + modifiers += "alt=1;" + if(params["right"]) + modifiers += "right=1;" + user.ClickOn(thing, modifiers) diff --git a/tgui/packages/tgui/interfaces/LootPanel/LootBox.tsx b/tgui/packages/tgui/interfaces/LootPanel/LootBox.tsx index 613db1ead53..137021b34ef 100644 --- a/tgui/packages/tgui/interfaces/LootPanel/LootBox.tsx +++ b/tgui/packages/tgui/interfaces/LootPanel/LootBox.tsx @@ -36,6 +36,7 @@ export function LootBox(props: Props) { className="SearchItem--box" onClick={(event) => act('grab', { + alt: event.altKey, ctrl: event.ctrlKey, ref: item.ref, shift: event.shiftKey, @@ -44,9 +45,8 @@ export function LootBox(props: Props) { onContextMenu={(event) => { event.preventDefault(); act('grab', { - middle: true, + right: true, ref: item.ref, - shift: true, }); }} >