Skip to content

Commit

Permalink
Don't save bots data (#428)
Browse files Browse the repository at this point in the history
Don't save bots data as this can cause a Lua error and is a bit useless
  • Loading branch information
Winkarst-cpu authored Dec 10, 2024
1 parent 63545cc commit b64d465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gamemode/core/libs/sv_player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ do
end

function playerMeta:SaveData()
if (self:IsBot()) then return end

local name = self:SteamName()
local steamID64 = self:SteamID64()

Expand Down

0 comments on commit b64d465

Please sign in to comment.