mirror of
https://github.com/ppy/osu
synced 2025-02-28 08:31:18 +00:00
Woops
This commit is contained in:
parent
d61dfe888e
commit
a0dae820ee
@ -26,7 +26,7 @@ namespace osu.Desktop
|
||||
{
|
||||
host.ExceptionThrown += handleException;
|
||||
|
||||
if (false)
|
||||
if (!host.IsPrimaryInstance)
|
||||
{
|
||||
var importer = new ArchiveImportIPCChannel(host);
|
||||
// Restore the cwd so relative paths given at the command line work correctly
|
||||
|
@ -150,7 +150,7 @@ namespace osu.Game
|
||||
|
||||
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);
|
||||
Environment.Exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user