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;
}
home = new SimSlURL(myConfig.GetHomeSimSlUrl());
backup = new SimSlURL(myConfig.GetBackupSimSLUrl());
if(home.name == "null")
if (home.name == "null")
{
myConfig.setEnabled(false);
return;
}
backup = new SimSlURL(myConfig.GetBackupSimSLUrl());
if(backup.name == "null")
{
LogFormater.Info("No backup sim was found using a default");