Reduce error to debug log (#53)

This commit is contained in:
Brandon Sturgeon 2023-12-25 14:29:15 -08:00 committed by GitHub
parent f4c736dc88
commit 3eb9f51e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,8 @@ function ctime:cleanupPlayer( ply )
logger:debug( "Player " .. ply:GetName() .. " ( " .. steamID64 .. " ) left at " .. now )
if not self.sessions[steamID64] then
error( "No pending update for above player, did they leave before database returned?" )
logger:debug( "No pending update for above player, did they leave before database returned?" )
return
end
self.sessions[steamID64].departed = now