Update HomeboundService.cs
This commit is contained in:
parent
6e09e7ca85
commit
12b86a0c08
1 changed files with 3 additions and 2 deletions
|
|
@ -42,11 +42,12 @@ namespace SecondBotEvents.Services
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
home = new SimSlURL(myConfig.GetHomeSimSlUrl());
|
home = new SimSlURL(myConfig.GetHomeSimSlUrl());
|
||||||
backup = new SimSlURL(myConfig.GetBackupSimSLUrl());
|
if (home.name == "null")
|
||||||
if(home.name == "null")
|
|
||||||
{
|
{
|
||||||
myConfig.setEnabled(false);
|
myConfig.setEnabled(false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
backup = new SimSlURL(myConfig.GetBackupSimSLUrl());
|
||||||
if(backup.name == "null")
|
if(backup.name == "null")
|
||||||
{
|
{
|
||||||
LogFormater.Info("No backup sim was found using a default");
|
LogFormater.Info("No backup sim was found using a default");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue