Update athome.cs
This commit is contained in:
parent
3caf4f4ae6
commit
bfaa2a80e4
1 changed files with 2 additions and 1 deletions
|
|
@ -362,12 +362,13 @@ namespace BSB.bottypes
|
|||
string simname = helpers.RegionnameFromSLurl(UseSLurl);
|
||||
if (simname != last_attempted_teleport_region)
|
||||
{
|
||||
AvoidSim(simname); // avoid this sim we are trying to teleport to incase something goes wrong
|
||||
string whyrejected = TeleportWithSLurl(UseSLurl);
|
||||
if (whyrejected == "ok")
|
||||
{
|
||||
AvoidSim(simname);
|
||||
return "**** active teleport: " + last_attempted_teleport_region + "***";
|
||||
}
|
||||
AvoidSim(simname);
|
||||
return "TP to " + simname + " rejected - " + whyrejected;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue