Have the debug due date work off of the tile
This commit is contained in:
parent
c62b87ff8b
commit
89248897f0
|
@ -728,8 +728,8 @@ namespace RJW_Menstruation
|
|||
|
||||
public string DueDate()
|
||||
{
|
||||
if (pawn.Map == null) return "";
|
||||
return GenDate.DateFullStringWithHourAt(GenDate.TickGameToAbs((int)p_end_tick), Find.WorldGrid.LongLatOf(pawn.Map.Tile));
|
||||
if (pawn.Tile == -1) return "";
|
||||
return GenDate.DateFullStringWithHourAt(GenDate.TickGameToAbs((int)p_end_tick), Find.WorldGrid.LongLatOf(pawn.Tile));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue