mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
aparently syncing lifetime components break twitch integration
This commit is contained in:
parent
3aadc58596
commit
8543a0a3e9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function effect_sync.get_ent_effects(entity, perks)
|
|||
local list = {}
|
||||
for _, ent in ipairs(EntityGetAllChildren(entity) or {}) do
|
||||
-- Do not include disabled components here
|
||||
if EntityHasTag(ent, "projectile") or EntityGetFirstComponentIncludingDisabled(ent, "LifetimeComponent") ~= nil then
|
||||
if EntityHasTag(ent, "projectile") then --or EntityGetFirstComponentIncludingDisabled(ent, "LifetimeComponent") ~= nil then
|
||||
table.insert(list, ent)
|
||||
else
|
||||
local com = EntityGetFirstComponent(ent, "GameEffectComponent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue