Kerbalism icon indicating copy to clipboard operation
Kerbalism copied to clipboard

CCK patch causes MM errors for parts without tags

Open JonnyOThan opened this issue 2 months ago • 1 comments

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 avatar Jun 02 '24 12:06 JonnyOThan