Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions gamemode/core/libs/character/sv_character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ function nut.char.cleanUpForPlayer(client)
local character = nut.char.loaded[charID]
if (not character) then return end

netstream.Start(nil, "charDel", character:getID())
nut.inventory.cleanUpForCharacter(character)
nut.char.loaded[charID] = nil

Expand Down Expand Up @@ -190,7 +189,6 @@ function nut.char.delete(id, client)
end

nut.char.loaded[id] = nil
netstream.Start(nil, "charDel", id)
nut.db.query("DELETE FROM nut_characters WHERE _id = "..id)
nut.db.query(
"SELECT _invID FROM nut_inventories WHERE _charID = "..id,
Expand Down
1 change: 0 additions & 1 deletion gamemode/core/meta/sh_character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ if (SERVER) then
function CHAR:destroy()
local id = self:getID()
nut.char.loaded[id] = nil
netstream.Start(nil, "charDel", id)
end
end

Expand Down