Skip to content

Commit

Permalink
Make CPlugSurface.Materials not nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Jul 17, 2024
1 parent bf21712 commit be0afed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Src/GBX.NET/Engines/Plug/CPlugSurface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ public partial class CPlugSurface
private CPlugSkel? skel;
public CPlugSkel? Skel { get => skel; set => skel = value; }

private SurfMaterial[] materials = [];
[AppliedWithChunk<Chunk0900C000>]
[AppliedWithChunk<Chunk0900C003>]
public SurfMaterial[] Materials { get => materials; set => materials = value; }

public partial class Chunk0900C003 : IVersionable
{
public int Version { get; set; }
Expand Down

0 comments on commit be0afed

Please sign in to comment.