Warzone2100/warzone2100
View on GitHubFactory assigned to commander ignores command limits
Open
#1,600 opened on Mar 9, 2021
Buggood first issue
Repository metrics
- Stars
- (3,886 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug Factories assigned to a commander will continue to produce units even once the command limit is reached. "Production complete. Assigned to commander" is announced, but the unit is left unassigned and the factory then produces another unit.
To Reproduce Steps to reproduce the behavior:
- Produce a commander, assign it to a factory
- Produce units from assigned factory
- Observe that n+1... units are produced, unassigned. Continues indefinitely if production is looped.
Expected behavior n+1 units are produced, with last unit assigned to commander but remains inactive. No further units are produced.
Your System: Kubutunu 20.04 Warzon 4.0.0 beta 1