Skip to content

Commit

Permalink
Fix lua error on ln 206 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex9914 authored Mar 23, 2024
1 parent aae801a commit 6d1464b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/sa/core/server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ end)

function SA.SaveUser(ply, dontsaverd)
local sid = ply:SteamID()
if not ply.sa_data then or not SA_IsValidSteamID(sid) then
if not ply.sa_data or not SA_IsValidSteamID(sid) then
return false
end
if not ply.sa_data.loaded then
Expand Down

0 comments on commit 6d1464b

Please sign in to comment.