Fix deathreporter not assigning zones (because it was "")

This commit is contained in:
2025-01-01 20:57:11 +01:00
parent d4e4290dc5
commit 251e11a7e8

View File

@@ -45,7 +45,7 @@ function shared.DeathReporter.Init()
end
local zone = Heimdall_Data.config.deathReporter.zoneOverride
if not zone then
if zone == nil or zone == "" then
zone = string.format("%s (%s)", GetZoneText(), GetSubZoneText())
end