diff --git a/listener/dispatch.go b/listener/dispatch.go index 94073c78..6ebbee74 100644 --- a/listener/dispatch.go +++ b/listener/dispatch.go @@ -45,7 +45,7 @@ func (l *Dispatch) AddListener(ls ecs.Listener) { l.listeners = append(l.listeners, ls) l.events |= ls.Subscriptions() - cmp := l.Components() + cmp := ls.Components() if cmp == nil { l.hasComponents = false } else {