Update Main.cs
This commit is contained in:
1 parent
c4525e6cd3
commit
8b9dda2f65
1 file changed
+1
-2
@@ -45,8 +45,7 @@ namespace LWGlass.Client
|
|||||||
var (addr, data) = kvp;
|
var (addr, data) = kvp;
|
||||||
if (data.Data.Type == glass)
|
if (data.Data.Type == glass)
|
||||||
{
|
{
|
||||||
GameObject obj = Decorations[0].DecorationObject;
|
mainWorld.Renderer.Entities.GetClientCode(addr).QueueFrameUpdate();
|
||||||
obj.GetComponent<MeshRenderer>().sharedMaterial = LogicWorld.References.MaterialsCache.StandardUnlitColorTransparent(Color, (float) _glassTransparency/10);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user