Quantcast

For some reason this was fucking up on PTR

Darth Predator [08-24-17 - 10:27]
For some reason this was fucking up on PTR
Filename
ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua
diff --git a/ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua b/ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua
index a800963..b90f9a4 100644
--- a/ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua
+++ b/ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua
@@ -114,9 +114,9 @@ local entrancePortals_y = {}
 local zoneIDtoContinentID = {}

 -- HELPER AND LOOKUP FUNCTIONS -------------------------------------------------------------
-
+local type = type
 local function PLAYER_LEVEL_UP(self, level)
-	playerLevel = level or UnitLevel("player")
+	playerLevel = (level and level ~= true) and level or UnitLevel("player")
 	for k in pairs(recZones) do
 		recZones[k] = nil
 	end