* Crew ability - added selected and needed power info while choosing, colorozing;

This commit is contained in:
Oleg Agafonov 2019-03-10 15:33:04 +04:00
parent b45864070c
commit 83afca8bda
2 changed files with 27 additions and 3 deletions

View file

@ -29,7 +29,7 @@ public class HintUtils {
// text
if (text != null && color != null) {
String hex = String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getGreen());
String hex = String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getBlue());
res = String.format("<font color=%s>%s</font>", hex, text);
} else {
res = text;