Stop timer once it's done
This commit is contained in:
parent
cd353c27a3
commit
bddcf81331
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue