Skip to content

Commit

Permalink
Update SoulShardSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Dec 11, 2024
1 parent dfe8fc9 commit b19e754
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<SoulShardComponent, ComponentStartup>(OnComponentStartup);
SubscribeLocalEvent<SoulShardComponent, MapInitEvent>(OnMapInit);
SubscribeLocalEvent<SoulShardComponent, InteractUsingEvent>(OnInteractUsing);
SubscribeLocalEvent<SoulShardComponent, ActivateInWorldEvent>(OnActivate);
SubscribeLocalEvent<SoulShardComponent, MindAddedMessage>(OnShardMindAdded);
SubscribeLocalEvent<SoulShardComponent, MindRemovedMessage>(OnShardMindRemoved);
}

private void OnComponentStartup(Entity<SoulShardComponent> shard, ref ComponentStartup args)
private void OnMapInit(Entity<SoulShardComponent> shard, ref MapInitEvent args)
{
if (!shard.Comp.IsBlessed)
return;
Expand Down

0 comments on commit b19e754

Please sign in to comment.