add save method

This commit is contained in:
Zontreck 2020-03-10 12:44:43 -07:00
parent b513cb6a1d
commit ce7d1fe4b0
2 changed files with 11 additions and 4 deletions

View file

@ -81,5 +81,12 @@ namespace Bot
}
}
public void Save()
{
SerialManager sm = new SerialManager();
sm.Write<MainConfiguration>("Main", this);
sm = null;
}
}
}