Update BetterTracking.cs
changing sim will now clear the AvatarSeen list.
This commit is contained in:
parent
fd02438a6a
commit
e0df24ee02
1 changed files with 6 additions and 0 deletions
|
|
@ -65,6 +65,12 @@ namespace BetterSecondbot.Tracking
|
|||
{
|
||||
LogFormater.Info("Tracker - Connected to login process event");
|
||||
controler.getBot().LoginProgess += LoginProcess;
|
||||
controler.getBot().ChangeSimEvent += ChangedSim;
|
||||
}
|
||||
|
||||
protected void ChangedSim(object o,SimChangedEventArgs e)
|
||||
{
|
||||
AvatarSeen = new Dictionary<UUID, long>();
|
||||
}
|
||||
|
||||
protected void LoginProcess(object o, LoginProgressEventArgs e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue