Time parameter for tempgroup
This commit is contained in:
parent
1b69a47d71
commit
cd353c27a3
2 changed files with 14 additions and 0 deletions
|
|
@ -1022,6 +1022,11 @@ namespace TShockAPI
|
|||
{
|
||||
RememberedPos.InsertLeavePos(tsplr.Name, tsplr.IP, (int) (tsplr.X/16), (int) (tsplr.Y/16));
|
||||
}
|
||||
|
||||
if (tsplr.tempGroupTimer != null)
|
||||
{
|
||||
tsplr.tempGroupTimer.Stop();
|
||||
}
|
||||
}
|
||||
|
||||
// The last player will leave after this hook is executed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue