Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.24k stars 534 forks source link

Can't build units after HQ destroyed #4135

Open aco4 opened 1 week ago

aco4 commented 1 week ago

My factories won't build units after my Command Center is destroyed.

Video

In this video, I am playing a multiplayer game. Scavengers attack and destroy most of my base. I try to build units to escape the attack, but cannot.

https://github.com/user-attachments/assets/8050cc0c-25e5-4d18-bf8d-ecea709f5f6e

Replay

The file is uploaded as a .zip, so GitHub does not complain. Please rename it to .wzrp if you want to view it. My command center is blown up around 5:35. 20241116_173029_multiplay_p2.zip

To Reproduce

I could not figure out how to reproduce the error. The following is what I tried:

  1. Start no-base skirmish game
  2. Build command center, research facility, and factory
  3. Research machinegun
  4. Design a machinegun viper wheels
  5. Select command center and type cheat "kill" to blow it up
  6. Try to build units out of the factory
  7. It worked

I also tried to simply demolish the command center with my trucks. This did not change the result.

Expected behavior

I should be able to build units

System

Additional context

May be related?

378, #393, #630