Skip to content

Incorrect total number of production buildings calculation#123

Description

@DDanser

Hi, glad to see the bot is back online 馃檪

I noticed an issue with how the total number of production buildings is calculated in the production list.

Right now, it seems like the bot sums the raw (non-rounded) values of buildings and only then displays the total. Because of that, the final number of buildings is not accurate.

The expected behavior would be:

First, round up the number of buildings for each item (ceil).
Then, sum these rounded values to get the correct total.

This should produce a more accurate total number of required production buildings.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions