Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a bug in fleet output for the new text report generation
The code for outputting fleets is actually a bit stranger than I had accounted for in my initial changes. The type of a fleet is output as 'Fleet' if there are multiple ships in a fleet. If the fleet consists of exactly one ship, then the type of the fleet is the type of that single ship. This should correct that problem. There might be other bugs still. I found this due to a question that Balvatah asked me on slack, and I am not sure if it's related to what he was seeing, but this is definitely a bug.
- Loading branch information