diff --git a/Source/CombatExtended/CombatExtended/Render/PawnRenderNodeWorker_Drafted.cs b/Source/CombatExtended/CombatExtended/Render/PawnRenderNodeWorker_Drafted.cs index 1094110676..d964a924c4 100644 --- a/Source/CombatExtended/CombatExtended/Render/PawnRenderNodeWorker_Drafted.cs +++ b/Source/CombatExtended/CombatExtended/Render/PawnRenderNodeWorker_Drafted.cs @@ -13,7 +13,7 @@ public class PawnRenderNodeWorker_Drafted : PawnRenderNodeWorker public override bool CanDrawNow(PawnRenderNode node, PawnDrawParms parms) { var pawn = node.tree.pawn; - return (pawn.Drafted || (pawn.CurJob?.def.alwaysShowWeapon ?? false) || (pawn.mindState.duty?.def.alwaysShowWeapon ?? false)) && base.CanDrawNow(node, parms); + return pawn != null && pawn.Spawned && (pawn.Drafted || (pawn.CurJob?.def.alwaysShowWeapon ?? false) || (pawn.mindState?.duty?.def.alwaysShowWeapon ?? false)) && base.CanDrawNow(node, parms); } } }