turtle-wow: use table index instead of function call
This commit is contained in:
+2
-2
@@ -21,7 +21,7 @@ local module = ShaguTweaks:register({
|
||||
|
||||
module.enable = function(self)
|
||||
-- hide turtle-wow's target status texts
|
||||
if ShaguTweaks_config(T["Real Health Numbers"]) == 1 then
|
||||
if ShaguTweaks_config[T["Real Health Numbers"]] == 1 then
|
||||
TargetHPText:Hide()
|
||||
TargetHPText.Show = function() return end
|
||||
|
||||
@@ -36,7 +36,7 @@ module.enable = function(self)
|
||||
HookWorldMapFrame_Maximize()
|
||||
|
||||
-- re-apply worldmap window
|
||||
if ShaguTweaks_config(T["WorldMap Window"]) == 1 then
|
||||
if ShaguTweaks_config[T["WorldMap Window"]] == 1 then
|
||||
WorldMapFrame:SetMovable(true)
|
||||
WorldMapFrame:EnableMouse(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user