defense cap number always has the same color as the defense rating
This commit is contained in:
parent
8ae0dea1b5
commit
c5298074be
1 changed files with 1 additions and 1 deletions
|
@ -1816,7 +1816,7 @@ public:
|
|||
str.str(clear_stringstream);
|
||||
const bool has_cap = movement_type.get_defense().capped(terrain);
|
||||
if (has_cap) {
|
||||
str << "<format>color=yellow text='" << defense << "%'</format>";
|
||||
str << "<format>color='"<< color <<"' text='" << defense << "%'</format>";
|
||||
} else {
|
||||
str << "<format>color=white text='" << utils::unicode_figure_dash << "'</format>";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue