mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-16 07:14:55 +02:00
finish fully working stamina system for 56h with 2 hours of happy time for premium players
This commit is contained in:
7
data/creaturescripts/scripts/logout.lua
Normal file
7
data/creaturescripts/scripts/logout.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
function onLogout(player)
|
||||
local playerId = player:getId()
|
||||
if nextUseStaminaTime[playerId] then
|
||||
nextUseStaminaTime[playerId] = nil
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user