Skip to content
This repository
Browse code

Tiny tiny changes

  • Loading branch information...
commit a0e6287ea4e4b718fd2eec5a39f2ab2e2aa81027 1 parent 6f91590
authored August 02, 2012
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
157 157
 	local what, mat = temp:sub(1,1), temp:sub(2)
158 158
 	if what == "0" then
159 159
 		if mat == "" then
160  
-			tbl.material = true -- true means no material
  160
+			tbl.material = false
161 161
 		else
162 162
 			tbl.material = Material(mat)
163 163
 		end
164 164
 	elseif what == "1" then
165 165
 		local num = tonumber(mat)
166 166
 		if not num or not ValidEntity(Entity(num)) then
167  
-			tbl.material = true
  167
+			tbl.material = false
168 168
 		else
169 169
 			tbl.material = Entity(num)
170 170
 		end

0 notes on commit a0e6287

Please sign in to comment.
Something went wrong with that request. Please try again.