Skip to content

Commit

Permalink
Merge pull request #142 from yukieiji/refactor-SystemTypeAdds
Browse files Browse the repository at this point in the history
Refactor:SystemType Adds to prevent conflicts
  • Loading branch information
Alexejhero authored Mar 5, 2024
2 parents 4a5a6b4 + bc5b237 commit d49ec72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Submerged/Enums/CustomSystemTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace Submerged.Enums;

public readonly struct CustomSystemTypes
{
public static void Initialize()
internal static void Initialize()
{
SystemTypeHelpers.AllTypes = Enum.GetValues<SystemTypes>().Concat(All.Select(t => t.systemType)).ToArray();
SystemTypeHelpers.AllTypes = SystemTypeHelpers.AllTypes.Concat(All.Select(t => t.systemType)).ToArray();
}

#region Struct implementation
Expand Down

0 comments on commit d49ec72

Please sign in to comment.