Combuctor (native Bagnon)

Combuctor (native Bagnon)

2M Downloads

Right click to put reagents into the bak not working

zaarok opened this issue ยท 3 comments

commented

Hi, we are not able to put into the new reagent bank using the right click on the sort button.

commented

Hi. I've been experiencing this issue too.
This button only reacts to left clicks - it seems that right click event hasn't been registered for this button.

In .\templates\components.xml:189 I see that button is inherited from "BankAutoSortButtonTemplate"
but I've been unable to find definition of "BankAutoSortButtonTemplate". I suppose that only LeftButton click events were registered for this template.
Registering click events for "CombuctorSortButtonTemplate" in OnLoad section here worked for me as a temporary workaround of problem:

self:RegisterForClicks("LeftButtonUp","RightButtonUp");

commented

Ups!

commented

Fixed on development version