From 7ba3a8d6e82dd8476fb2a68577708e950f4b8350 Mon Sep 17 00:00:00 2001 From: William Moodhe Date: Tue, 1 May 2018 18:38:08 -0400 Subject: [PATCH] No need for this. --- gamemodes/zombiesurvival/gamemode/noxapi/server.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gamemodes/zombiesurvival/gamemode/noxapi/server.lua b/gamemodes/zombiesurvival/gamemode/noxapi/server.lua index c5cfb36..a0024ad 100644 --- a/gamemodes/zombiesurvival/gamemode/noxapi/server.lua +++ b/gamemodes/zombiesurvival/gamemode/noxapi/server.lua @@ -115,7 +115,7 @@ function CACHE:WaitForBuffer() end hook.Add("PlayerInitialSpawn", "noxapi", function(pl) - if NDB or pl:IsBot() then return end + --[[if NDB or pl:IsBot() then return end local steamid = pl:SteamID() local memberlevel = CACHE:Get(steamid) @@ -127,11 +127,11 @@ hook.Add("PlayerInitialSpawn", "noxapi", function(pl) else table.insert(Buffer, {steamid, pl}) CACHE:WaitForBuffer() - end + end]] end) hook.Add("Initialize", "noxapi", function() - resource.AddFile("materials/noxiousnet/noxicon.png") + --resource.AddFile("materials/noxiousnet/noxicon.png") if not NDB then CACHE:Load() @@ -145,7 +145,7 @@ hook.Add("ShutDown", "noxapi", function() end) concommand.Add("noxapi_forcerefresh", function(sender, command, arguments) - if sender._ForcedNoxAPILookup or sender:IsNoxSupporter() or NDB then return end + --[[if sender._ForcedNoxAPILookup or sender:IsNoxSupporter() or NDB then return end sender._ForcedNoxAPILookup = true @@ -162,5 +162,5 @@ concommand.Add("noxapi_forcerefresh", function(sender, command, arguments) end CACHE:Set(steamid, level) - end) + end)]] end)