aboutsummaryrefslogtreecommitdiff
path: root/gamemode
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 18:31:41 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 18:31:41 -0500
commit4fd64f6d4a22a8259c22fdba3ade0e2f1dc2f8cb (patch)
tree3291b2415ae58a60c7ada530621a512defc2f110 /gamemode
parent04270d684531678326797ed3a1c53caad8c7f946 (diff)
downloadwintersurvival2-4fd64f6d4a22a8259c22fdba3ade0e2f1dc2f8cb.tar.gz
wintersurvival2-4fd64f6d4a22a8259c22fdba3ade0e2f1dc2f8cb.tar.bz2
wintersurvival2-4fd64f6d4a22a8259c22fdba3ade0e2f1dc2f8cb.zip
hotfix for ws_cleanup command
Diffstat (limited to 'gamemode')
-rw-r--r--gamemode/server/concommands.lua2
1 files changed, 1 insertions, 1 deletions
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",