Skip to content

Commit

Permalink
change 112 client check
Browse files Browse the repository at this point in the history
  • Loading branch information
mrthinger committed Apr 12, 2023
1 parent e7fc3c6 commit 7dd6fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AI_VoiceOver/Compatibility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ if not WOW_PROJECT_ID and INTERFACE_VERSION < 70000 then
end
end

if not WOW_PROJECT_ID and string.sub(CLIENT_VERSION, 1, 4) == "1.12" then
if not WOW_PROJECT_ID and INTERFACE_VERSION < 11300 then

function Utils:GetNPCName()
return UnitName("npc")
Expand Down
2 changes: 1 addition & 1 deletion AI_VoiceOver_112/Compatibility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function CreateFrame(frameType, name, parent, template)
return frame
end

if not WOW_PROJECT_ID and string.sub(CLIENT_VERSION, 1, 4) == "1.12" then
if not WOW_PROJECT_ID and INTERFACE_VERSION < 11300 then

function Utils:GetNPCName()
return UnitName("npc")
Expand Down

0 comments on commit 7dd6fa1

Please sign in to comment.