Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some minor cleanups

  • Loading branch information...
commit 70b93cdd5abd46868446a101bc8220711d863a60 1 parent 40d210e
@Divran Divran authored
View
15 lua/entities/gmod_wire_expression2/core/string.lua
@@ -361,21 +361,6 @@ e2function string string:replaceRE(string pattern, string new)
end
end
-local specialchars = {
- ["%"] = true,
- ["^"] = true,
- ["$"] = true,
- ["("] = true,
- [")"] = true,
- ["."] = true,
- ["["] = true,
- ["]"] = true,
- ["*"] = true,
- ["+"] = true,
- ["-"] = true,
- ["?"] = true
-}
-
__e2setcost(5)
--- Splits the string into an array, along the boundaries formed by the string <pattern>. See also [[string.Explode]]
View
4 lua/weapons/gmod_tool/stools/wire_debugger.lua
@@ -57,7 +57,7 @@ function TOOL:RightClick(trace)
end
end
if not next(Components[ply_idx]) then
- umsg.Start("WireDbgLineCount", ply)
+ umsg.Start("WireDbgLineCount", self:GetOwner())
umsg.Short(0)
umsg.End()
Components[ply_idx] = nil
@@ -138,7 +138,7 @@ end
function TOOL:Reload(trace)
if (CLIENT) then return end
- umsg.Start("WireDbgLineCount", ply)
+ umsg.Start("WireDbgLineCount", self:GetOwner())
umsg.Short(0)
umsg.End()
Components[self:GetOwner()] = nil
Please sign in to comment.
Something went wrong with that request. Please try again.