You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Managers/AchievementManager.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ public static void EnterAchievementTab()
57
57
{
58
58
intachievementCount=Achievements.Count;
59
59
60
-
List<ButtonInfo>achievementButtons=newList<ButtonInfo>{newButtonInfo{buttonText="Exit Achievements",method=()=>currentCategoryName="Main",isTogglable=false,toolTip="Returns you back to the main page."}};
60
+
List<ButtonInfo>achievementButtons=newList<ButtonInfo>{newButtonInfo{buttonText="Exit Achievements",method=()=>Buttons.CurrentCategoryName="Main",isTogglable=false,toolTip="Returns you back to the main page."}};
61
61
62
62
if(achievementCount<=0)
63
63
achievementButtons.Add(
@@ -82,7 +82,7 @@ public static void EnterAchievementTab()
Copy file name to clipboardExpand all lines: Managers/PatreonManager.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -230,9 +230,9 @@ public static void SetupPatreonMods(string patreonName)
230
230
{
231
231
NotificationManager.SendNotification($"<color=grey>[</color><color=purple>PATREON</color><color=grey>]</color> Welcome, {patreonName}! Patreon mods have been enabled.",10000);
Buttons.buttons[Buttons.GetCategory("Plugin Settings")]=new[]{newButtonInfo{buttonText="Exit Plugin Settings",method=()=>currentCategoryName="Settings",isTogglable=false,toolTip="Returns you back to the settings menu."}};
52
+
Buttons.buttons[Buttons.GetCategory("Plugin Settings")]=new[]{newButtonInfo{buttonText="Exit Plugin Settings",method=()=>Buttons.CurrentCategoryName="Settings",isTogglable=false,toolTip="Returns you back to the settings menu."}};
53
53
54
54
if(Plugins.Count>0)
55
55
{
@@ -109,14 +109,14 @@ public static void LoadPlugins()
catch(Exceptione){LogManager.Log("Error with enabling plugin "+Plugin.Name+": "+e);}
115
115
}
116
116
117
-
Buttons.AddButton(33,newButtonInfo{buttonText="Open Plugins Folder",method=OpenPluginsFolder,isTogglable=false,toolTip="Opens a folder containing all of your plugins."});
118
-
Buttons.AddButton(33,newButtonInfo{buttonText="Reload Plugins",method=ReloadPlugins,isTogglable=false,toolTip="Reloads all of your plugins."});
119
-
Buttons.AddButton(33,newButtonInfo{buttonText="Get More Plugins",method=LoadPluginLibrary,isTogglable=false,toolTip="Opens a public plugin library, where you can download your own plugins."});
117
+
Buttons.AddButton(Buttons.GetCategory("Plugin Settings"),newButtonInfo{buttonText="Open Plugins Folder",method=OpenPluginsFolder,isTogglable=false,toolTip="Opens a folder containing all of your plugins."});
118
+
Buttons.AddButton(Buttons.GetCategory("Plugin Settings"),newButtonInfo{buttonText="Reload Plugins",method=ReloadPlugins,isTogglable=false,toolTip="Reloads all of your plugins."});
119
+
Buttons.AddButton(Buttons.GetCategory("Plugin Settings"),newButtonInfo{buttonText="Get More Plugins",method=LoadPluginLibrary,isTogglable=false,toolTip="Opens a public plugin library, where you can download your own plugins."});
List<ButtonInfo>buttonInfos=newList<ButtonInfo>{newButtonInfo{buttonText="Exit Plugin Library",method=()=>currentCategoryName="Plugin Settings",isTogglable=false,toolTip="Returns you back to the plugin settings."}};
293
+
List<ButtonInfo>buttonInfos=newList<ButtonInfo>{newButtonInfo{buttonText="Exit Plugin Library",method=()=>Buttons.CurrentCategoryName="Plugin Settings",isTogglable=false,toolTip="Returns you back to the plugin settings."}};
294
294
intindex=0;
295
295
296
296
foreach(stringplugininplugins)
@@ -302,7 +302,7 @@ public static void LoadPluginLibrary()
0 commit comments