Skip to content

Incorrect CPU displayed in continent with CPU bonus/malus #241

@Wuzzy2

Description

@Wuzzy2

If you try to build CPU in a base in a continent with CPU bonus/malus, the added CPU is not displayed correctly.

How to reproduce:

  1. Build a storage unit in a continent with CPU bonus
  2. Open base
  3. Open the “build CPU” window
  4. Select Server, set count to 1
  5. Look what is says in the 3rd line (“Generates X CPU”)
  6. Look what it says in the bottom-most line (“CPU per day: Y”)

Expected: X equals Y.
Actual result: It says “Generates 10 CPU” but “CPU per day: 12”.

Of course, the same thing happens with other CPU types.


PS: I know this is a deja vu but this bug is subtly different than #231, as it affects a different window.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions