Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tiny tiny changes

  • Loading branch information...
commit a0e6287ea4e4b718fd2eec5a39f2ab2e2aa81027 1 parent 6f91590
@Divran Divran authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua
View
4 lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua
@@ -157,14 +157,14 @@ function EGP:ReceiveMaterial( tbl, um ) -- ALWAYS use this when receiving materi
local what, mat = temp:sub(1,1), temp:sub(2)
if what == "0" then
if mat == "" then
- tbl.material = true -- true means no material
+ tbl.material = false
else
tbl.material = Material(mat)
end
elseif what == "1" then
local num = tonumber(mat)
if not num or not ValidEntity(Entity(num)) then
- tbl.material = true
+ tbl.material = false
else
tbl.material = Entity(num)
end
Please sign in to comment.
Something went wrong with that request. Please try again.