update
This commit is contained in:
parent
80f536bfe9
commit
962717865f
2 changed files with 3 additions and 9 deletions
|
@ -70,19 +70,12 @@ namespace Bot
|
|||
|
||||
public void Load()
|
||||
{
|
||||
MainConfiguration X = new MainConfiguration();
|
||||
inst = new MainConfiguration();
|
||||
SerialManager sm = new SerialManager();
|
||||
try
|
||||
{
|
||||
X = sm.Read<MainConfiguration>("Main");
|
||||
inst = sm.Read<MainConfiguration>("Main");
|
||||
|
||||
MainProgramDLL = X.MainProgramDLL;
|
||||
first = X.first;
|
||||
last = X.last;
|
||||
ActivationCode = X.ActivationCode;
|
||||
password = X.password;
|
||||
GitPassword = X.GitPassword;
|
||||
BotAdmins = X.BotAdmins;
|
||||
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue