Update sv_lib.lua

This commit is contained in:
Malboro 2019-02-06 17:34:04 +01:00 committed by GitHub
parent 00014c3ac3
commit e6f077a967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ function PermaProps.PPEntityFromTable( data, id )
for k, v in pairs( data.SubMat ) do
if type(k) != "number" or type(v) != "string" then continue end
if type(k) != "number" or type(v) == "string" then continue end
ent:SetSubMaterial( k-1, v )