endless-sky
endless-sky copied to clipboard
Taking fighter as a flagship makes it impossible to use in a carrier later
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
If you use fighter ship as a flagship and leave the planet, then after landing back, fighter becomes "regular" ship and it cannot be loaded into the carrier any more (same as you can't load Sparrow, for example). See screenshot for how the ship list looks after this.
I guess this is not the #1 importance bug, maybe I'm the first player who got this crazy idea to use fighter as flagship, but still it would be nice if this could be fixed!
Steps to Reproduce
- Buy any carrier
- Buy a bunch of fighters
- Place one fighter in top spot in ship list
- Park all other ships
- Leave the planet and fly around
- Land back
- Look at the ship list and confirm that fighter is now bugged
Expected Behavior
After landing a fighter it should retain it's grey colour in the ship list and it should be possible to use it in the carrier as usual.
Screenshots
Link to save file
No response
Operating System
Windows 10 Home 21H2 19044.1889
Game Source
Steam
Game Version
v0.9.14
Additional Information
No response
Sounds like the same bug this PR addresses?
https://github.com/endless-sky/endless-sky/pull/7030
Probably related: https://github.com/endless-sky/endless-sky/issues/6519
Was able to reproduce.
From my playings with fighter/drone flags (yes, I have made drones my flagship) this does happen and can be mitigated by reloading the save with a different flagship (even reloading the same save when landed is enough). This looks like that the fighter is treated differently when it is a flag and is never moved back to normal upon a new flag being assigned.
#6519 does indeed include the issue highlighted here, and #7030 should fix this. Closing because duplicate (if #7030 doesn't actually fix this, someone should reopen.)