Skip to content

Incorrect total number of production buildings calculation #123

@DDanser

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

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