1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-04 03:13:11 +08:00
This commit is contained in:
smoogipoo 2019-02-22 19:49:37 +09:00
parent d61dfe888e
commit a0dae820ee
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace osu.Desktop
{ {
host.ExceptionThrown += handleException; host.ExceptionThrown += handleException;
if (false) if (!host.IsPrimaryInstance)
{ {
var importer = new ArchiveImportIPCChannel(host); var importer = new ArchiveImportIPCChannel(host);
// Restore the cwd so relative paths given at the command line work correctly // Restore the cwd so relative paths given at the command line work correctly

View File

@ -150,7 +150,7 @@ namespace osu.Game
ScoreManager.ItemAdded += (score, _, silent) => Schedule(() => LoadScore(score, silent)); ScoreManager.ItemAdded += (score, _, silent) => Schedule(() => LoadScore(score, silent));
if (false) if (!Host.IsPrimaryInstance)
{ {
Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error); Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error);
Environment.Exit(0); Environment.Exit(0);