[21:28:38] Dominus: Marzo: this patch allows to open unlocked doors and containers in combat (the original allowed opening containers but attacked any door). But I'm doing one thing wrong: without the return it will attack anyway. With the return, it will activate *again* on any none clicking action. What am I missing? https://pastebin.com/7Gv9XAeP
[21:31:34] Marzo: That function is most likely the wrong place to do that
[21:32:31] Marzo: That is called every time the character starts an attack action
[21:33:00] Marzo: So if you double-click something while in combat, it will try to attack, open instead, try to attack again, but open it again, and so on
[21:33:36] Marzo: The proper place to do that would be to do this check and activate *instead of* setting the object as target
[21:34:53] Marzo: Create an issue and assign it to me and I will take a look over trhe weekend
[21:35:08] Dominus: thanks.