[Twinsen][0.17.41] Production graph x axis labels for 250 and 1000 hrs weird

This subforum contains all the issues which we already resolved.
Post Reply
Phoenix27833
Inserter
Inserter
Posts: 25
Joined: Mon Aug 27, 2018 12:46 pm
Contact:

[Twinsen][0.17.41] Production graph x axis labels for 250 and 1000 hrs weird

Post by Phoenix27833 » Tue May 21, 2019 12:02 pm

Seems to divide hours by 60 for 250 and 1000 hour axis:

Image

Credit here: https://www.reddit.com/r/factorio/comme ... n_the_250/

Twinsen
Factorio Staff
Factorio Staff
Posts: 1033
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [Twinsen][0.17.41] Production graph x axis labels for 250 and 1000 hrs weird

Post by Twinsen » Wed May 22, 2019 11:51 am

Classic

Code: Select all

  //show seconds, minutes or hours. This needs to be updated if we ever need to display more than 99 hours
  while (timeFrame > 99)
  {
    valueToPrint = valueToPrint / 60;
    timeFrame = timeFrame / 60;
  }
I knew exactly what the problem was when you said "Seems to divide hours by 60" :)

Fixed in Version: 0.17.43. It now divides by 24 to show days.
Thanks.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Bing [Bot]