From 34e027525f6c5b8242c2b4b1c05a26724e5dd443 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 3 Jan 2025 23:42:53 +0100 Subject: [PATCH] Fix empty location --- Modules/Spotter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Spotter.lua b/Modules/Spotter.lua index 99ea039..7744260 100644 --- a/Modules/Spotter.lua +++ b/Modules/Spotter.lua @@ -73,7 +73,7 @@ function shared.Spotter.Init() if not class then return string.format("Could not find class for unit %s", tostring(unit)) end local location = Heimdall_Data.config.spotter.zoneOverride - if not location then + if not location or location == "" then local zone = GetZoneText() if not zone then return string.format("Could not find zone for unit %s", tostring(unit)) end local subzone = GetSubZoneText()