From 4fd64f6d4a22a8259c22fdba3ade0e2f1dc2f8cb Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 1 Jan 2016 18:31:41 -0500 Subject: hotfix for ws_cleanup command --- gamemode/server/concommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/server/concommands.lua') diff --git a/gamemode/server/concommands.lua b/gamemode/server/concommands.lua index 0a6eb94..f8ce0bd 100644 --- a/gamemode/server/concommands.lua +++ b/gamemode/server/concommands.lua @@ -7,7 +7,7 @@ concommand.Add("ws_giveitem",function(pl,com,args) end) concommand.Add("ws_cleanup",function(ply,cmd,args) - if(!IsValid(ply) or !pl:IsAdmin()) then return end + if(!IsValid(ply) or !ply:IsAdmin()) then return end cleanup = { "ws_arrow", "ws_campfire", -- cgit v1.2.3-70-g09d2