Skip to content

Commit d7637aa

Browse files
committed
Removed autoLoad variable as it was causing problems.
1 parent a164535 commit d7637aa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

DevHelper/DevHelper.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ namespace DevHelper
1010
{
1111
public partial class DevHelper : MonoBehaviour
1212
{
13-
public bool autoLoad = true;
1413
public bool autoLoadSave = true;
1514
public string autoLoadSaveName = "default";
1615

@@ -46,7 +45,6 @@ public void loadConfigXML()
4645
PluginConfiguration config = PluginConfiguration.CreateForType<DevHelper>();
4746
config.load();
4847

49-
autoLoad = config.GetValue<bool>("autoLoad");
5048
autoLoadSave = config.GetValue<bool>("autoLoadSave");
5149
autoLoadSaveName = config.GetValue<string>("autoLoadSaveName");
5250
autoLoadScene = config.GetValue<bool>("autoLoadScene");
@@ -56,7 +54,6 @@ public void loadConfigXML()
5654
public void saveConfigXML()
5755
{
5856
PluginConfiguration config = PluginConfiguration.CreateForType<DevHelper>();
59-
config.SetValue("autoLoad", autoLoad);
6057
config.SetValue("autoLoadSave", autoLoadSave);
6158
config.SetValue("autoLoadSaveName", autoLoadSaveName);
6259
config.SetValue("autoLoadScene", autoLoadScene);
@@ -67,9 +64,6 @@ public void saveConfigXML()
6764
private bool bDoOnce = true;
6865
private void Update()
6966
{
70-
if (!autoLoad)
71-
return;
72-
7367
var menu = GameObject.Find("MainMenu");
7468
if (menu != null && bDoOnce)
7569
{

0 commit comments

Comments
 (0)