Skip to content

Player::canBuildMoreOfType can allow production beyond MaxSimultaneousOfType #3465

Description

@xezon

Reported by bots in #3463

Player::canBuildMoreOfType can allow production beyond MaxSimultaneousOfType when a linked variant is already queued: existing objects are counted by MaxSimultaneousLinkKey, but countUnitTypeInQueue counts only the exact type. Include queued templates sharing the link key in the queue count.

Activity

  1. added
    BugSomething is not working right, typically is user facing
    on Oct 10, 2026
  2. added theissue type on Oct 10, 2026
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

    BugSomething is not working right, typically is user facing

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions