Inverse statement

This commit is contained in:
Ukendio 2024-12-26 05:35:59 +01:00
parent bfce07c881
commit 2e29046770

View file

@ -263,7 +263,7 @@ local function query_match(query, archetype: Archetype)
end end
local without = query.filter_without local without = query.filter_without
if not without then if without then
for _, id in without do for _, id in without do
if records[id] then if records[id] then
return false return false