Skip to content

Separator missing in Configure Resource Setting window #99

@tinygrox

Description

@tinygrox

if(item == null || PartResourceLibrary.Instance.GetDefinition(item.id) == null)
{
continue;
}

This prevents the Separator from appearing on the window, and can't be remove in game.

and there is my Solution:

if(item == null || (PartResourceLibrary.Instance.GetDefinition(item.id) == null && !item.IsSeparator))
{
    continue;
}

by the way,I also pull a PR for Localization 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions