Fix players "leaving" when they never joined.
This commit is contained in:
parent
4b77ca549e
commit
d14c7c40c9
1 changed files with 1 additions and 0 deletions
|
|
@ -651,6 +651,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
private void OnLeave(int ply)
|
private void OnLeave(int ply)
|
||||||
{
|
{
|
||||||
|
|
||||||
var tsplr = Players[ply];
|
var tsplr = Players[ply];
|
||||||
Players[ply] = null;
|
Players[ply] = null;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue