Skip to content

Commit

Permalink
use IPA GameVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwasyx committed Jul 27, 2024
1 parent d100897 commit 9cd11bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScoreSaber/Core/Daemons/UploadDaemon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private byte[] Swap(byte[] panda1, byte[] panda2) {

internal static string GetVersionHash() {
using (var md5 = MD5.Create()) {
string versionString = string.Format("{0}{1}", Plugin.Instance.LibVersion, Application.version);
string versionString = string.Format("{0}{1}", Plugin.Instance.LibVersion, IPA.Utilities.UnityGame.GameVersion);
string hash = BitConverter.ToString(md5.ComputeHash(Encoding.UTF8.GetBytes(versionString))).Replace("-", "").ToLowerInvariant();
return hash;
}
Expand Down

0 comments on commit 9cd11bc

Please sign in to comment.