KeepAlive=no on units is ignored when Short Game is off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
New
|
Undecided
|
Unassigned |
Bug Description
The KeepAlive=no setting is ignored when set on a unit and Short Game is turned off.
To reproduce, perform the following:
1. Set KeepAlive=no on SMIN.
2. Start a new game as Yuri with Short Game off.
3. Build a single YAREFN and undeploy it into an SMIN.
4. Sell every other building.
5. Kill everything other than the SMIN.
6. Observe that the game is still running even though it should have ended.
The expected result is that since KeepAlive=no is set on SMIN, when it is the only unit left in the game, the game will end.
Setting KeepAlive=no on an object of type [BuildingTypes] does work when Short Game is off, so if you perform the above experiment with KeepAlive=no on both YAREFN and SMIN, then deploying the SMIN into a YAREFN after step 6 will instantly end the game.