forked from Mythikos/gmod-flood-2.0
Update sv_constraints.lua
This commit is contained in:
parent
869c03ecdb
commit
b10c0712fb
@ -37,7 +37,7 @@ end)
|
||||
---- Can Tool ----
|
||||
-----------------------------------------------------------------------------------------------
|
||||
function GM:CanTool(ply, tr, tool)
|
||||
if ply:IsSuperAdmin() then return true end
|
||||
if ply:IsSuperAdmin() or ply:IsDev() then return true end
|
||||
for _, tools in pairs(self:CompileToolTable()) do
|
||||
if tostring(tools[1]) == tostring(tool) and tobool(tools[3]) == true then
|
||||
if tr.Entity:IsWorld() then
|
||||
|
Loading…
Reference in New Issue
Block a user