Skip to content

Comments

In devmode do not load dependencies of disabled packages#258

Merged
Shivansps merged 1 commit intoKnossosNET:mainfrom
Shivansps:fix-dependencies-disabled-pkg
Dec 22, 2024
Merged

In devmode do not load dependencies of disabled packages#258
Shivansps merged 1 commit intoKnossosNET:mainfrom
Shivansps:fix-dependencies-disabled-pkg

Conversation

@Shivansps
Copy link
Member

Do not load dependencies of a disabled package in dev mode.

This was accidentaly introduced on #198 because a modflag id of a disabled package in devmode falls into the same condition. So the modflags id referenced by disabled packages must be filtered out if not other enabled package also references it.

I petty much speedran this as i needed it, so more testing is needed in other conditions.

@Shivansps Shivansps added the bug Something isn't working label Dec 18, 2024
@Shivansps Shivansps added this to the 1.3 milestone Dec 18, 2024
@Shivansps
Copy link
Member Author

In case anyone wonders, since SCPUI takes longer to load, i reference scpui in a separate package and put everything related on it and i disable it when i dont need to do anything with scpui.

@Shivansps Shivansps merged commit 24b6bff into KnossosNET:main Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants