1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Avoid weird codestyle rules

This commit is contained in:
Dean Herbert 2024-05-09 22:17:00 +08:00
parent c4d6318c0d
commit de05998421
No known key found for this signature in database

View File

@ -107,11 +107,13 @@ namespace osu.Desktop
} }
} }
using (DesktopGameHost host = Host.GetSuitableDesktopHost(gameName, new HostOptions var hostOptions = new HostOptions
{ {
IPCPort = !tournamentClient ? OsuGame.IPC_PORT : null, IPCPort = !tournamentClient ? OsuGame.IPC_PORT : null,
FriendlyGameName = OsuGameBase.GAME_NAME, FriendlyGameName = OsuGameBase.GAME_NAME,
})) };
using (DesktopGameHost host = Host.GetSuitableDesktopHost(gameName, hostOptions))
{ {
if (!host.IsPrimaryInstance) if (!host.IsPrimaryInstance)
{ {