Open tripleabuilderbot opened 1 year ago
FlagIconImageFactory.getFlag()
calls ImageFactory.getImageOrThrow()
, so this is expected if a map doesn't have a flag image.
The question is whether this is the right behavior - since ultimately it's a map error. I think we can just make the engine not show a flag in that case, instead of throwing up an error.
I agree with @asvitkine this is expected behavior as of now. Therefore, it is not a bug. Furthermore, there is enough information for the user to resolved the problem himself. In addition, there ist no straightforward way how the system should react differently in this case. We would have two rewrite every place where we draw images for the option of the image not being available. This would be a lot of work and I do not see a benefit. Hence, suggesting to close this is you.
Log Message
Failed to set round icon for PlayerId named:Turkey
TripleA Version
2.6.14296
Java Version
11.0.9.1
Operating System
Windows 10
Stack Trace