tweak(esx): Print affectedRows instead of changedRows for saved players

This commit is contained in:
Linden
2021-07-06 09:57:25 +10:00
parent 8c642ffebc
commit 4f5794473e
+1 -1
View File
@@ -233,7 +233,7 @@ ESX.SavePlayers = function(cb)
MySQL.Async.fetchAll(updateCommand, {},
function(result)
if result then
if cb then cb() else print(('[^2INFO^7] Saved %s of %s player(s) over %s seconds'):format(result.changedRows, #xPlayers, os.time() - time)) end
if cb then cb() else print(('[^2INFO^7] Saved %s of %s player(s) over %s seconds'):format(result.affectedRows, #xPlayers, os.time() - time)) end
end
end)
end