Skip to content

Commit 75d8d21

Browse files
committed
Revise ShouldIUseTestEndpoints() logic
1 parent 6696d90 commit 75d8d21

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

EddiCore/EDDI.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,9 @@ private async Task OnStatusChangedAsync ( object sender )
561561

562562
public static bool ShouldUseTestEndpoints()
563563
{
564-
#if DEBUG
565-
return true;
566-
#else
567-
// use test endpoints if the game is in beta
568-
return Instance.gameIsBeta;
569-
#endif
564+
// use test endpoints if the game is in beta or EDDI is in a test phase
565+
return Instance.gameIsBeta ||
566+
Constants.EDDI_VERSION.phase < Utilities.Version.TestPhase.rc ;
570567
}
571568

572569
public void Start()

0 commit comments

Comments
 (0)