Remove player data on disconnect

This commit is contained in:
Timo Smit 2017-02-08 16:23:36 +01:00
parent 68688385a0
commit d7d5565355

View file

@ -175,7 +175,7 @@ end
events.handle("onClientBegin", players.onbegin)
function players.ondisconnect(clientId)
-- stats.remove(clientId)
data[clientId] = nil
end
events.handle("onClientDisconnect", players.ondisconnect)