I'm making a very simple mod to sort the troops and in the party window, and I've stumbled on what seems like it should be a real easy thing to do. Just forcing a redraw of the current screen. For a long time I used a work around where I programmatically closed and reopened the window, but I...
I solved the problem problem by closing and opening the party window using the PartyScreenManager. It's not optimal, because the mod now saves any changes made when sorting the troops, but it works well enough.
I'm writing a mod which makes changes to the troops and prisoners you are travelling with. It works fine, but if you're currently in the party management screen, the changes made are (obviously) not reflected in the window until you leave and come back.
I've been messing around some, but I...