mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-16 22:19:25 +07:00
more pair checks
This commit is contained in:
@@ -179,7 +179,17 @@ for _ = 1, math.random(1, 100) do
|
||||
not evo.has_any(entity, __table_unpack(query_exclude_list))
|
||||
|
||||
for fragment in evo.each(entity) do
|
||||
if evo.has(fragment, evo.EXPLICIT) then
|
||||
local is_fragment_explicit = false
|
||||
|
||||
if not is_fragment_explicit and evo.is_pair(fragment) then
|
||||
is_fragment_explicit = evo.has(evo.unpair(fragment), evo.EXPLICIT)
|
||||
end
|
||||
|
||||
if not is_fragment_explicit and not evo.is_pair(fragment) then
|
||||
is_fragment_explicit = evo.has(fragment, evo.EXPLICIT)
|
||||
end
|
||||
|
||||
if is_fragment_explicit then
|
||||
local is_fragment_included = false
|
||||
|
||||
if not is_fragment_included then
|
||||
|
||||
Reference in New Issue
Block a user