diff --git a/Source/ZLevels/ZLevels/HarmonyPatches/JobPatches.cs b/Source/ZLevels/ZLevels/HarmonyPatches/JobPatches.cs index efd54f5..250fd9e 100644 --- a/Source/ZLevels/ZLevels/HarmonyPatches/JobPatches.cs +++ b/Source/ZLevels/ZLevels/HarmonyPatches/JobPatches.cs @@ -839,6 +839,9 @@ private static Job TryGiveJob(Pawn pawn, RestCategory minCategory, float maxLeve private static IntVec3 FindGroundSleepSpotFor(Pawn pawn) { Map map = pawn.Map; + ZUtils.currentLookedIntoMap = map; + //ZUtils.ZTracker.jobTracker.TryGetValue( pawn, out var jobTracker ); + //var localCellMap = jobTracker?.lookedAtLocalCellMap; for (int i = 0; i < 2; i++) { int radius = (i == 0) ? 4 : 12;