diff --git a/game/modules/tome/class/uiset/Minimalist.lua b/game/modules/tome/class/uiset/Minimalist.lua index 59314981f813ffd02f82b0ff1968580b1befa310..592512f43af4b36ac7d54593cf8c9f4426d580b2 100644 --- a/game/modules/tome/class/uiset/Minimalist.lua +++ b/game/modules/tome/class/uiset/Minimalist.lua @@ -1050,6 +1050,11 @@ function _M:displayResources(scale, bx, by, a) x, y = self:resourceOrientStep(orient, bx, by, scale, x, y, fshat[6], fshat[7]) elseif game.mouse:getZone("res:fortress") then game.mouse:unregisterZone("res:fortress") end + -- Any hooks + local hd = {"UISet:Minimalist:Resources", a=a, player=player, x=x, y=y, bx=bx, by=by, orient=orient, scale=scale} + if self:triggerHook(hd) then + x, y = hd.x, hd.y + end ----------------------------------------------------------------------------------- -- Ammo