Update Main.cs
This commit is contained in:
@@ -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