Skip to content

Commit b858e73

Browse files
committed
✨ add event for audio changes
semver: minor
1 parent b941735 commit b858e73

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

EliteVA/EliteVA.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ public override async Task OnStart(IVoiceAttackProxy proxy)
103103
}
104104

105105
proxy.Log.Write($"Applied {settings.Count} audio settings", VoiceAttackColor.Blue);
106+
107+
var command = "((EliteAPI.AudioChanged))";
108+
if (proxy.Commands.Exists(command))
109+
proxy.Commands.Invoke(command);
106110
});
107111

108112
// json event

0 commit comments

Comments
 (0)