aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core')
-rw-r--r--gamemode/core/database/sv_setup.lua6
-rw-r--r--gamemode/core/npc/sv_npcsystem.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/gamemode/core/database/sv_setup.lua b/gamemode/core/database/sv_setup.lua
index dd2332d..a99cef4 100644
--- a/gamemode/core/database/sv_setup.lua
+++ b/gamemode/core/database/sv_setup.lua
@@ -68,9 +68,9 @@ function sql.GetPlayerData(ply)
local mtbl = util.JSONToTable(meta)
if mtbl.lastserver ~= game.GetIPAddress() then
--ply:ConCommand("connect " .. mtbl.lastserver)
- net.Start("art_sendtoserver")
- net.WriteString(mtbl.lastserver)
- net.Send(ply)
+ -- net.Start("art_sendtoserver")
+ -- net.WriteString(mtbl.lastserver)
+ -- net.Send(ply)
return nil
end
local _,_,x,y,z = string.find(mtbl.lastlocation,"([-%d%.]+) ([-%d%.]+) ([-%d%.]+)")
diff --git a/gamemode/core/npc/sv_npcsystem.lua b/gamemode/core/npc/sv_npcsystem.lua
index d376d6d..7c75f90 100644
--- a/gamemode/core/npc/sv_npcsystem.lua
+++ b/gamemode/core/npc/sv_npcsystem.lua
@@ -10,7 +10,7 @@ local autocompletef
---Registers an NPC.
-- Adds an npc to the global table. NPC's should have unique .Name fields, if they don't, this function will error.
---@see npc
+--@see npctbl
--@tparam table npc The npc's table.
function n.RegisterNPC(npc)
assert(npc ~= nil, "Attempted to register a nil npc")