Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit e2459be

Browse files
committed
remove mods tab from console
1 parent 7b7aced commit e2459be

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ModLoader/ConsoleGUI.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public bool IsVisible
3333
private int _activeTab;
3434

3535
// tab list
36-
public string[] tabs = new string[] { "Console", "Scene", "Mods" };
36+
public string[] tabs = new string[] { "Console", "Scene" };
3737

3838
// store all logs in game
3939
private GUIContent _logs;
@@ -153,9 +153,9 @@ private void windowFunction(int windowID)
153153
case 1:
154154
this.sceneTab();
155155
break;
156-
case 2:
156+
/*case 2:
157157
this.modsTab();
158-
break;
158+
break;*/
159159
}
160160
GUI.DragWindow();
161161
}
@@ -175,7 +175,7 @@ private void consoleTab()
175175
GUI.EndScrollView();
176176
}
177177

178-
private void modsTab()
178+
/*private void modsTab()
179179
{
180180
this._consoleheight = this._consoleStyle.CalcHeight(this._mods, this._consoleRect.width - 20f);
181181
if (this._consoleheight < this._consoleRect.height - 60f)
@@ -188,7 +188,7 @@ private void modsTab()
188188
GUI.Box(new Rect(10, 0, this._consoleRect.width - 30f, this._consoleheight), this._mods, this._consoleStyle);
189189
190190
GUI.EndScrollView();
191-
}
191+
}*/
192192

193193
private void sceneTab()
194194
{

0 commit comments

Comments
 (0)