Mercurial > wow > wowdb-profiler
diff Constants.lua @ 447:bf1fbf1c9cb2
Added conditional code to account for changes in Patch 6.2's item strings. It now works with Live and PTR builds.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Tue, 16 Jun 2015 07:34:14 -0400 |
parents | 6e55341c3fa4 |
children | b1c1d817788d |
line wrap: on
line diff
--- a/Constants.lua Thu Mar 12 03:10:39 2015 -0400 +++ b/Constants.lua Tue Jun 16 07:34:14 2015 -0400 @@ -455,7 +455,7 @@ ----------------------------------------------------------------------- -- Fundamental Constants. ----------------------------------------------------------------------- -private.wow_version, private.build_num = _G.GetBuildInfo() +private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo() private.region = GetCVar("portal"):sub(0,2):upper() -- PTR/Beta return "public-test", but they are properly called "XX" if private.region == "PU" then private.region = "XX" end