Skip to content

Commit

Permalink
database: ignore empty zone datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed May 7, 2024
1 parent 703498d commit 67625ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database.lua
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ function pfDatabase:SearchAreaTriggerID(id, meta, maps, prio)
for _, data in pairs(areatrigger[id]["coords"]) do
local x, y, zone = unpack(data)

if zone > 0 then
if zone and zone > 0 then
-- add all gathered data
meta = meta or {}
meta["spawn"] = pfQuest_Loc["Exploration Mark"]
Expand Down

0 comments on commit 67625ca

Please sign in to comment.