1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00

Fix opening changelog overlay from settings in development (#37602)

Just a small fix for crash that occures when clicking `local debug` in
settings footer.
This commit is contained in:
Mathew Tkachuk
2026-05-05 19:39:32 +03:00
committed by GitHub
Unverified
parent 2006485d60
commit 27f6e94bf0
+8 -3
View File
@@ -82,11 +82,16 @@ namespace osu.Game.Overlays
Show();
string[] split = version.Split('-');
if (split.Length < 2)
return;
string versionPart = split[0];
string updateStream = split[1];
performAfterFetch(() =>
{
string versionPart = version.Split('-')[0];
string updateStream = version.Split('-')[1];
var build = builds.Find(b => b.Version == versionPart && b.UpdateStream.Name == updateStream)
?? Streams.Find(s => s.Name == updateStream)?.LatestBuild;