mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Remove player data on disconnect
This commit is contained in:
parent
68688385a0
commit
d7d5565355
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue