Quantcast
View Bug Report
Autoloot hook can become stale if gamepad enabled state is changed
Bug #: 2462
File: Dolgubon's Lazy Set Crafter
Date: 07/04/19 06:37 AM
By: jc28735250
Status: Already Reported
Hi!
In order to auto-loot writ containers you hook whatever the currently used loot window object is (LootHandler.lua line 403), but if the user changes gamepad mode to a different state that hook is now stale and won't fire because the loot window is now different. I suggest hooking both gamepad/keyboard loot windows so that no matter what mode the user turns to it will always have one hook active :)

PS. I also reported this on gitter but I wasn't sure if you got the message