From 84279bbb034aef483276926255e88c531219aa31 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 30 Dec 2015 20:06:08 -0500 Subject: Fixed birds crashing if not spawned on a valid navmesh --- gamemode/server/concommands.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gamemode/server') diff --git a/gamemode/server/concommands.lua b/gamemode/server/concommands.lua index 6506973..487ee24 100644 --- a/gamemode/server/concommands.lua +++ b/gamemode/server/concommands.lua @@ -6,10 +6,11 @@ concommand.Add("ws_giveitem",function(pl,com,args) pl:AddItem(args[1],tonumber(args[2] or 1)) end) - +--[[ concommand.Add("ws_spawnbird",function(ply, cmd, args) GAMEMODE:SpawnNPCByName("Bird",ply:GetPos()) end) +]]-- concommand.Add("ws_startnavgen",function(ply,cmd,args) if (IsValid(pl) and !pl:IsAdmin()) then return end -- cgit v1.2.3-70-g09d2