Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structures are slightly damaged when done building #3676

Open
aco4 opened this issue Mar 9, 2024 · 0 comments
Open

Structures are slightly damaged when done building #3676

aco4 opened this issue Mar 9, 2024 · 0 comments
Labels

Comments

@aco4
Copy link

aco4 commented Mar 9, 2024

Describe the bug
Sometimes, when trucks finish building a structure, it will be slightly damaged when they are done. I believe this happens because a Hardcrete research upgrade finishes mid-way, and increases the health of the structure but somehow the trucks don't receive the update.

To Reproduce
Steps to reproduce the behavior:

  1. Start a skirmish game
  2. Order your trucks to begin building a line of walls
  3. Enable debug mode
  4. Use cheat "research all"
  5. Notice that after they finish the current wall, it is slightly damaged.

It may help to slow down the game.

Expected behavior
The trucks should build the structure to full health.

Screenshots or Videos
wz2100-20240308_233906-Sk-Rush

Your System:

  • Windows 11
  • 4.4.2

Additional context
I suspect the issue lies within the replaceComponent function in the research.cpp file.

@aco4 aco4 added the Bug label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant