Browse files

Tiny tiny changes

  • Loading branch information...
1 parent 6f91590 commit a0e6287ea4e4b718fd2eec5a39f2ab2e2aa81027 @Divran Divran committed Aug 2, 2012
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

0 comments on commit a0e6287

Please sign in to comment.