1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 03:09:54 +08:00

Allow debug instances to coexist alongside release instances

This commit is contained in:
Dean Herbert
2024-01-21 10:55:52 +09:00
Unverified
parent 82e7643df5
commit 2dedead1d1
+5
View File
@@ -80,7 +80,12 @@ namespace osu.Game
[Cached(typeof(OsuGame))]
public partial class OsuGame : OsuGameBase, IKeyBindingHandler<GlobalAction>, ILocalUserPlayInfo, IPerformFromScreenRunner, IOverlayManager, ILinkHandler
{
#if DEBUG
// Different port allows runnning release and debug builds alongside each other.
public const int IPC_PORT = 44824;
#else
public const int IPC_PORT = 44823;
#endif
/// <summary>
/// The amount of global offset to apply when a left/right anchored overlay is displayed (ie. settings or notifications).