Closed
Description
I have a mod called BetterPawnControl which successfully integrated with your mod.
After your last update it seems two issues were introduced:
Issue 1
it seems the following line of code is breaking the integration
_instance = (MainTabWindow_Animals)DefDatabase<MainTabDef>.GetNamed( "Animals" )?.Window;
I think it's the cast that is not working.
DefDatabase<MainTabDef>.GetNamed( "Animals" )?.Window; should returns My Class.
The cast is being done to your class, sooo..,. cabummm.
Any ideas on how to solve this?
Issue 2
It seems the next code line is returning null. Not sure why,
texture = ContentFinder<Texture2D>.Get($"UI/Training/{trainable.defName}", false);