mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
Avoid weird codestyle rules
This commit is contained in:
parent
c4d6318c0d
commit
de05998421
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user