AlternateResourcePanel icon indicating copy to clipboard operation
AlternateResourcePanel copied to clipboard

Separator missing in Configure Resource Setting window

Open tinygrox opened this issue 1 year ago • 0 comments

https://github.com/TriggerAu/AlternateResourcePanel/blob/fe82bb3c224aa013266901a305b0e04538c8d58b/AlternateResourcePanel/ARPWindowResourceConfig.cs#L108-L111

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 😄

tinygrox avatar Mar 25 '23 14:03 tinygrox