mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +08:00
Allow debug instances to coexist alongside release instances
This commit is contained in:
parent
82e7643df5
commit
2dedead1d1
@ -80,7 +80,12 @@ namespace osu.Game
|
|||||||
[Cached(typeof(OsuGame))]
|
[Cached(typeof(OsuGame))]
|
||||||
public partial class OsuGame : OsuGameBase, IKeyBindingHandler<GlobalAction>, ILocalUserPlayInfo, IPerformFromScreenRunner, IOverlayManager, ILinkHandler
|
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;
|
public const int IPC_PORT = 44823;
|
||||||
|
#endif
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The amount of global offset to apply when a left/right anchored overlay is displayed (ie. settings or notifications).
|
/// The amount of global offset to apply when a left/right anchored overlay is displayed (ie. settings or notifications).
|
||||||
|
Loading…
Reference in New Issue
Block a user