Explorar el Código

Campaign mode, do not try to create Browser UI and crash.

Stephen Damm hace 5 años
padre
commit
942c3f8795

+ 1 - 1
SongBrowserPlugin/Plugin.cs

@@ -12,7 +12,7 @@ namespace SongBrowser
 {
     public class Plugin : IPlugin
     {
-        public const string VERSION_NUMBER = "5.2.1";
+        public const string VERSION_NUMBER = "5.2.2";
         public static Plugin Instance;
 
         public string Name

+ 2 - 2
SongBrowserPlugin/Properties/AssemblyInfo.cs

@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("5.2.1")]
-[assembly: AssemblyFileVersion("5.2.1")]
+[assembly: AssemblyVersion("5.2.2")]
+[assembly: AssemblyFileVersion("5.2.2")]

+ 1 - 0
SongBrowserPlugin/UI/Browser/SongBrowserUI.cs

@@ -119,6 +119,7 @@ namespace SongBrowser.UI
             {
                 Logger.Debug("Entering SOLO CAMPAIGN mode...");
                 flowCoordinator = Resources.FindObjectsOfTypeAll<CampaignFlowCoordinator>().First();
+                return;
             }
 
             _beatUi = new DataAccess.BeatSaberUIController(flowCoordinator);