WolfHUD
WolfHUD copied to clipboard
This can be fixed by checking if `self._mouse_click` variable is `nil`, but then you lose the functionality that there was before, which iirc it equipped a secondary equipment with a double right click.
This can be fixed by checking if self._mouse_click
variable is nil
Originally posted by @Hexer10 in https://github.com/Kamikaze94/WolfHUD/issues/829#issuecomment-621169916
Please explain how to check that line, also i noticed that crash can occure during main manu or heist createing. Thanks!
This mean you need to rewrite function in WolfHUD/lua/MenuTweaks.lua
to something like this
function BlackMarketGui:mouse_clicked(...)
BlackMarketGui_mouse_clicked_original(self, ...)
-- if not self._enabled then
++ if not self._enabled or self._mouse_click == nil then
return
end
self._mouse_click[self._mouse_click_index].selected_tab = self._selected
end
Test this and report results, if this work i may create pull request.
Okey so this is how it is... Double click ''shortcut'' doesnt work but, now is vanilla select gadget which does not crash or conflicts the game in anyway so its safe to go... Thanks!
One problem tho, not big just minor thing around. If you do this step mod will ask for update which will add old file with old script... Solution is to avoid updateing it for now!
MEXAHOTABOP Test this and report results, if this work i may create pull request.
Now no problem thx. Can use RMB in all menu.
Problem was fixed with new release