Open JiaRG opened 1 week ago
On the first one, YES. It should be assignManager... what the hell On the second one, IDK. how can it be null if all pawns have default settings when spawned?
After integrating with the Achtung mod, when I save and load the archive, the log will show a lot of the following two lines of information:
Could not load reference to Verse.WorkTypeDef named Rescuing
Null key while loading dictionary of Verse.WorkTypeDef and System.Int32. label=settings
https://github.com/voult2/BetterPawnControl/blob/71aad7a3b5c0da7e458652f4f373ea85f4c380ea/Source/Managers/AssignManager.cs#L483-L496
L488 should
AssignManager.links.RemoveAll(x => x.zone == policy.id);
?