1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +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
parent f7a4a2b098
commit 25fa76a1b2
No known key found for this signature in database

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);