Update HomeboundService.cs

This commit is contained in:
Madpeter 2023-11-30 17:29:48 +00:00
parent 6e09e7ca85
commit 12b86a0c08

View file

@ -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");