mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Have the debug due date work off of the tile
This commit is contained in:
parent
c62b87ff8b
commit
89248897f0
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue