Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCK patch causes MM errors for parts without tags #891

Open
JonnyOThan opened this issue Jun 2, 2024 · 1 comment
Open

CCK patch causes MM errors for parts without tags #891

JonnyOThan opened this issue Jun 2, 2024 · 1 comment

Comments

@JonnyOThan
Copy link
Contributor

JonnyOThan commented Jun 2, 2024

Saw this in someone's logs:

[LOG 13:49:22.953] Applying update KerbalismConfig/Support/CCK/@PART[kerbalism-greenhouse|kerbalism-lifesupport*]:NEEDS[CommunityCategoryKit]:AFTER[zzzKerbalismDefault] to KerbalismConfig/Parts/LifeSupport/kerbalism-lifesupportmodule.cfg/PART[kerbalism-lifesupportmodule]
[WRN 13:49:22.953] Cannot find key tags in PART
[ERR 13:49:22.953] Error - Cannot parse variable search when replacing (%) key tags = #$tags$ cck-lifesupport

I think these patches would need to use &tags = to make sure the tags key exists first. The greenhouse and lifesupport parts don't seem to have a tags field. That would also be a good solution...

KSP - 2024-06-02T083403.207.log

@JonnyOThan
Copy link
Contributor Author

Er hmmm, it looks like the System/Misc.cfg patch should have added these. Still, it's probably best to set the tags field to empty if it doesn't exist before applying patches like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant