mirror of
https://github.com/ckaczor/TillerTracker.git
synced 2026-01-14 01:25:42 -05:00
Set TomTom to right zone and fix config command
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user