Skip to content

Commit

Permalink
Remove name filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Sep 30, 2024
1 parent b5b3d75 commit 5bce05f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Audio/AudioManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,12 @@ public int UpdateExternals(string[] externalsPaths)
}
public void ProcessEvents()
{
IEnumerable<Event> events = Hierarchies.SelectMany(x => x.Objects.OfType<Event>().Where(x => !string.IsNullOrEmpty(x.ID.String)));
IEnumerable<Event> events = Hierarchies.SelectMany(x => x.Objects.OfType<Event>());
int count = events.Count();

int resolved = 0;
foreach (Event evt in events)
{
if (string.IsNullOrEmpty(evt.ID.String)) continue;

EventInfo eventInfo = new(evt.ID);
evt.HIRC?.ResolveObject(evt, eventInfo);
Events.Add(eventInfo);
Expand Down

0 comments on commit 5bce05f

Please sign in to comment.