Stop timer once it's done

This commit is contained in:
White 2015-04-06 12:02:35 +09:30
parent cd353c27a3
commit bddcf81331

View file

@ -530,6 +530,10 @@ namespace TShockAPI
public void TempGroupTimerElapsed(object sender, ElapsedEventArgs args)
{
tempGroup = null;
if (sender != null)
{
((Timer)sender).Stop();
}
}
public void SendWorldInfo(int tilex, int tiley, bool fakeid)