This should correctly get the number of index_color attributes your armor pieces have and create a new sui for each. (Primary, secondary, etc)
Just copy/paste this over armorobjectmenucomponent.cpp
Having issues pasting here so here is a pastebin that will not expire.
https://pastebin.com/24GXzkmQ
Just copy/paste this over armorobjectmenucomponent.cpp
Having issues pasting here so here is a pastebin that will not expire.
https://pastebin.com/24GXzkmQ