diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-02-28 18:53:59 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-02-28 19:04:36 -0500 |
| commit | ae36508b5fd4eba3856b2137d6b1b366ef8f9def (patch) | |
| tree | c9c14856264acbd84a50a34900e6ea39943105c1 | |
| parent | 403e81b9eecb9a86bef5985425f81df577af7837 (diff) | |
| download | artery-ae36508b5fd4eba3856b2137d6b1b366ef8f9def.tar.gz artery-ae36508b5fd4eba3856b2137d6b1b366ef8f9def.tar.bz2 artery-ae36508b5fd4eba3856b2137d6b1b366ef8f9def.zip | |
Fixed random erroring from npcs
| -rw-r--r-- | entities/entities/npc_townie/init.lua | 2 | ||||
| -rw-r--r-- | gamemode/core/database/sv_setup.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/entities/entities/npc_townie/init.lua b/entities/entities/npc_townie/init.lua index 7adc571..dd2b034 100644 --- a/entities/entities/npc_townie/init.lua +++ b/entities/entities/npc_townie/init.lua @@ -76,7 +76,7 @@ function ENT:BehaveUpdate(num) self.nodereached = true else if self.curnode.IsDone(self) then - error("Finished action") + --error("Finished action") self.curnode = self:selectNewNode() self.nodereached = false end diff --git a/gamemode/core/database/sv_setup.lua b/gamemode/core/database/sv_setup.lua index a99cef4..b35e6f8 100644 --- a/gamemode/core/database/sv_setup.lua +++ b/gamemode/core/database/sv_setup.lua @@ -71,7 +71,7 @@ function sql.GetPlayerData(ply) -- net.Start("art_sendtoserver") -- net.WriteString(mtbl.lastserver) -- net.Send(ply) - return nil + --return nil end local _,_,x,y,z = string.find(mtbl.lastlocation,"([-%d%.]+) ([-%d%.]+) ([-%d%.]+)") local vec = {x,y,z} |
