Skip to content

Commit

Permalink
SetGroup: make objects list optional in ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperbx committed Aug 11, 2024
1 parent 583bf13 commit cdb9b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marathon/Formats/Placement/SetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,11 @@ public class SetGroup

public SetGroup() { }

public SetGroup(string in_name, string in_function, List<ulong> in_objects)
public SetGroup(string in_name, string in_function, List<ulong> in_objects = null)
{
Name = in_name;
Function = in_function;
Objects = in_objects;
Objects = in_objects ?? [];
}

public override string ToString() => Name;
Expand Down

0 comments on commit cdb9b91

Please sign in to comment.