Remove 700 usages of Component.Owner (#21100)

This commit is contained in:
DrSmugleaf
2023-10-19 12:34:31 -07:00
committed by GitHub
parent 5825ffb95c
commit f560f88eb5
261 changed files with 2291 additions and 2036 deletions

View File

@@ -20,10 +20,10 @@ public abstract class SharedRevenantOverloadedLightsSystem : EntitySystem
if (comp.Accumulator < comp.ZapDelay)
continue;
OnZap(comp);
OnZap((uid, comp));
RemCompDeferred(uid, comp);
}
}
protected abstract void OnZap(RevenantOverloadedLightsComponent component);
protected abstract void OnZap(Entity<RevenantOverloadedLightsComponent> component);
}