Set TomTom to right zone and fix config command

This commit is contained in:
2025-11-25 11:01:01 -05:00
parent 4c9f9eb9ec
commit b5a7e2c3c8
3 changed files with 9 additions and 5 deletions

View File

@@ -330,10 +330,9 @@ local function Entry_OnMouseUp(frame, info, button)
return
end
local m = TomTom:GetCurrentPlayerPosition()
local location = info["LOCATION"]
_G.TomTom:AddWaypoint(m, location[1] / 100, location[2] / 100, { title = info["NAME"] })
_G.TomTom:AddWaypoint(376, location[1] / 100, location[2] / 100, { title = info["NAME"] })
end
end
@@ -714,7 +713,12 @@ function TillerTracker:ChatCommand(input)
command = command:lower()
if command == L["config"]:lower() then
InterfaceOptionsFrame_OpenToCategory(private.optionsFrame)
if Settings then
Settings.OpenToCategory("Tiller Tracker")
elseif InterfaceOptionsFrame_OpenToCategory then
InterfaceOptionsFrame_OpenToCategory("Tiller Tracker")
InterfaceOptionsFrame_OpenToCategory("Tiller Tracker")
end
elseif command == L["minimap"]:lower() then
private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide
TillerTracker:UpdateMinimapConfig()

View File

@@ -1,6 +1,6 @@
## Interface: 110205
## Title: Tiller Tracker
## Version: 11.0.4
## Version: 11.0.5
## Notes: Helps with the daily Tiller food quests ("A Dish for...") by keeping track of what quests have been completed that day, how many dishes need to be cooked, and what materials are required.
## Author: Amanoa
## SavedVariables: TillerTrackerDB

View File

@@ -1,6 +1,6 @@
## Interface: 50500
## Title: Tiller Tracker
## Version: 11.0.4
## Version: 11.0.5
## Notes: Helps with the daily Tiller food quests ("A Dish for...") by keeping track of what quests have been completed that day, how many dishes need to be cooked, and what materials are required.
## Author: Amanoa
## SavedVariables: TillerTrackerDB