diff options
Diffstat (limited to 'lua/autorun/town.lua')
| -rw-r--r-- | lua/autorun/town.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/autorun/town.lua b/lua/autorun/town.lua index 2805f7c..40131df 100644 --- a/lua/autorun/town.lua +++ b/lua/autorun/town.lua @@ -137,5 +137,8 @@ function loadtownies() end) end -concommand.Add("artery_loadtownies",loadtownies) +concommand.Add("artery_loadtownies",function(ply,cmd,args) + if not ply:IsAdmin() then return end + loadtownies() +end) hook.Add("InitPostEntity","load_lua",loadtownies) |
