1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Merge pull request #26220 from bdach/no-version-manager-on-deployed-builds

Do not show main menu version display on deployed builds
This commit is contained in:
Dan Balasescu 2023-12-29 19:54:30 +09:00 committed by GitHub
commit 9548818a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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