1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 05:09:58 +08:00

Do not show main menu version display on deployed builds

See https://discord.com/channels/188630481301012481/188630652340404224/1190028102525530202.
This commit is contained in:
Bartłomiej Dach
2023-12-29 11:14:28 +01:00
Unverified
parent f7a4a2b098
commit 25fa76a1b2
+1 -1
View File
@@ -994,7 +994,7 @@ namespace osu.Game
Margin = new MarginPadding(5),
}, topMostOverlayContent.Add);
if (!args?.Any(a => a == @"--no-version-overlay") ?? true)
if (!IsDeployedBuild)
{
dependencies.Cache(versionManager = new VersionManager { Depth = int.MinValue });
loadComponentSingleFile(versionManager, ScreenContainer.Add);