Skip to content

If the unit uses BuildLimitGroup, the construction progress will be reset when placing the production building #1414

Description

@WhiteFeather127

Description

If the unit uses BuildLimitGroup, the construction progress will be reset when placing the production building

Phobos Version

https://github.com/Phobos-developers/Phobos/releases/tag/build-44

Conditions to reproduce

No response

INI code

[HTK]
BuildLimitGroup.Types=HTK
BuildLimitGroup.Nums=1
BuildLimitGroup.Factor=1
BuildLimitGroup.ContentIfAnyMatch=true

Steps to reproduce

Build a FlakTrackGun and place a factory when it hasn't been built yet.

Expected behaviour

The FlakTrackGun should be built.

Actual behaviour

The construction process of FlakTrackGun has been reset to zero and is in a holding state.

Additional context

No response

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓Phobos bugSomething isn't working properly

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions