Quantcast

Accept World or Cosmic map parents for Shadowlands.

Ludovicus [12-02-20 - 16:53]
Accept World or Cosmic map parents for Shadowlands.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 37e8921..fc17d74 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -1196,7 +1196,7 @@ function TomTom:GetCZWFromMapID(m)
             zone = m
         elseif mapType == Enum.UIMapType.Continent then
             continent = m
-        elseif mapType == Enum.UIMapType.World then
+        elseif (mapType == Enum.UIMapType.World) or (mapType == Enum.UIMapType.Cosmic) then
             world = m
             continent = continent or m -- Hack for one continent worlds
         end