Skip to content

Commit d64fce4

Browse files
committed
🚸 set EliteAPI.Version on startup
semver: patch
1 parent 7bc9b6f commit d64fce4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

EliteVA/EliteVA.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ public override async Task OnStart(IVoiceAttackProxy proxy)
116116
}
117117
});
118118

119+
// set version variable
119120
proxy.Variables.Set("EliteAPI.Version", _api.Version.ToString(), TypeCode.String);
121+
120122
_api.Start();
121123
WriteToLog(VoiceAttackColor.Green, $"EliteAPI started");
122124
}

0 commit comments

Comments
 (0)