Skip to content

Commit

Permalink
enable spawning when there is only a builtin group
Browse files Browse the repository at this point in the history
  • Loading branch information
GER-Space committed Jan 20, 2019
1 parent 068b5d7 commit 5f03a73
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Editor/StaticsEditorGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,10 @@ internal void ShowGroupScroll()
{
foreach (var groupCenter in localGroups)
{

if (groupCenter.isBuiltIn)
{
continue;
}
if (GUILayout.Button(new GUIContent(" " + groupCenter.Group, "Edit this Group."), GUILayout.Height(23)))
{
EditorGUI.CloseEditors();
Expand Down Expand Up @@ -873,10 +876,6 @@ internal static void ResetLocalGroupList()
{
continue;
}
if (groupCenter.isBuiltIn)
{
continue;
}

foundList.Add(groupCenter);
}
Expand Down

0 comments on commit 5f03a73

Please sign in to comment.