We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8006420 commit 6be87fcCopy full SHA for 6be87fc
Source/Core/VanillaWorkSettings.cs
@@ -17,6 +17,12 @@ public static class VanillaWorkSettings
17
18
public static int GetVanillaPriority( this Pawn pawn, WorkTypeDef worktype )
19
{
20
+ //public override float GetPriority(Pawn pawn)
21
+ if (pawn.workSettings == null || !pawn.workSettings.EverWork)
22
+ {
23
+ return 0;
24
+ }
25
+
26
if ( prioritiesFieldInfo == null )
27
28
prioritiesFieldInfo = typeof( Pawn_WorkSettings ).GetField( "priorities", AccessTools.all );
0 commit comments