mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Move startup concurrency check to higher level
Makes more sense to perform this check outside of the game itself now that we can.
This commit is contained in:
@ -74,7 +74,10 @@ namespace osu.Desktop
|
||||
|
||||
// we want to allow multiple instances to be started when in debug.
|
||||
if (!DebugUtils.IsDebugBuild)
|
||||
return 0;
|
||||
{
|
||||
Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
if (tournamentClient)
|
||||
|
Reference in New Issue
Block a user