mirror of
https://github.com/otland/forgottenserver
synced 2026-08-15 16:32:07 -04:00
* Better support for allowClones (using creature id instead of guid) * Minor optimizations * Fix memory leak on death
7 lines
163 B
Lua
7 lines
163 B
Lua
function onLogout(player)
|
|
local playerId = player:getId()
|
|
if nextUseStaminaTime[playerId] ~= nil then
|
|
nextUseStaminaTime[playerId] = nil
|
|
end
|
|
return true
|
|
end
|