Fix unknown command spam in server console

This commit is contained in:
Klen_list 2022-08-07 21:53:51 +03:00 committed by GitHub
parent 5e462000f4
commit 548c85785e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,7 @@ function TOOL:RightClick(tr)
end
function TOOL:Reload(tr)
if (SERVER) then return true end
local traceEnt = tr.Entity
if (not isentity(traceEnt) or traceEnt:GetClass() ~= "sammyservers_textscreen") then return false end