Skip to content

Commit 2da5907

Browse files
committed
fix some glitches
1 parent 835e3d9 commit 2da5907

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

AOEHelper.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
## Title: AOEHelper
99
## Description: Set up individual AOE Colors for each Trial & Dungeon
1010
## Author: m00nyONE
11-
## Version: 1.1.0
12-
## AddOnVersion: 010100
11+
## Version: 1.1.1
12+
## AddOnVersion: 010101
1313
## SavedVariables: AOEHelperVars
1414
## DependsOn: LibAddonMenu-2.0 LibChatMessage>=105
1515

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.1.1
2+
- fixing some glitches
3+
14
## 1.1.0
25
- allow changing colors for every boss individually
36

modules/data.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AOEHelper = AOEHelper or {}
44
AOEHelper.loadTime = AOEHelper.loadTime or 0
55
AOEHelper.name = "AOEHelper"
66
AOEHelper.variableVersion = 1
7-
AOEHelper.version = "1.1.0"
7+
AOEHelper.version = "1.1.1"
88
AOEHelper.globalDelay = 2000
99
--AOEHelper.URL_LINK_TYPE = "aoe"
1010
AOEHelper.defaultVariables = {

modules/menu.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,12 @@ function AOEHelper.createAddonMenu()
129129
-- submenu - current zone
130130
optionsTable[#optionsTable + 1] = {
131131
type = "submenu",
132-
name = zo_strformat(GetString(AOEHELPER_MENU_CURRENTZONE_SUBMENU_TEXT),AOEHelper.filterName(GetUnitZone("player"))),
132+
name = function()
133+
if IsUnitInDungeon("player") then
134+
return zo_strformat(GetString(AOEHELPER_MENU_CURRENTZONE_SUBMENU_TEXT), AOEHelper.filterName(GetUnitZone("player")))
135+
end
136+
return "ZONE"
137+
end,
133138
tooltip = GetString(AOEHELPER_MENU_CURRENTZONE_SUBMENU_TOOLTIP),
134139
disabled = function() if AOEHelper.savedVariables.savedZones[GetZoneId(GetUnitZoneIndex("player"))] == nil then return true end return false end,
135140
controls = {

0 commit comments

Comments
 (0)