This is a pretty simple one. When a unit manages to get to the max level of 7, then gets sufficient XP to level again the promotion flag changes to a + despite there not actually being a promotion available. Adding one more condition to the if then statement makes this no longer occur:
If line 823 of \Assets\UI\unitflagmanager.lua changed as follows, this wouldn't happen.
This:
if bCanStart and isLocalPlayerUnit then
need only change to this:
if bCanStart and isLocalPlayerUnit and (#promotionList < 7) then
I've tested this and it seems to work just fine. Being new to this stuff, and not really being a coder, I'm unfamiliar with Github and not entirely sure how to make this change myself so someone can integrate it into the code. Hope this makes sense.
Edited to add the file. Can't believe I forgot to do that. :/
This is a pretty simple one. When a unit manages to get to the max level of 7, then gets sufficient XP to level again the promotion flag changes to a + despite there not actually being a promotion available. Adding one more condition to the if then statement makes this no longer occur:
If line 823 of \Assets\UI\unitflagmanager.lua changed as follows, this wouldn't happen.
This:
if bCanStart and isLocalPlayerUnit then
need only change to this:
if bCanStart and isLocalPlayerUnit and (#promotionList < 7) then
I've tested this and it seems to work just fine. Being new to this stuff, and not really being a coder, I'm unfamiliar with Github and not entirely sure how to make this change myself so someone can integrate it into the code. Hope this makes sense.
Edited to add the file. Can't believe I forgot to do that. :/