The button "View currently active combat" is greyed out when battle is fought by an ally (under military control) and at the same time there is no battle fought by me.
-----------
in pseudo code:
if ( count_player_battles() > 0 ) { battles_btn.enable(); }
should be
if ( count_player_battles() > 0 || count_ally_military_control_battles() > 0 ) { battles_btn.enable(); }
-----------
in pseudo code:
if ( count_player_battles() > 0 ) { battles_btn.enable(); }
should be
if ( count_player_battles() > 0 || count_ally_military_control_battles() > 0 ) { battles_btn.enable(); }
Upvote
0