Fix players "leaving" when they never joined.

This commit is contained in:
Lucas Nicodemus 2012-01-01 23:18:18 -07:00
parent 4b77ca549e
commit d14c7c40c9

View file

@ -651,6 +651,7 @@ namespace TShockAPI
private void OnLeave(int ply)
{
var tsplr = Players[ply];
Players[ply] = null;