Remove Config.customcolors 'color' options (#1286)

This commit is contained in:
Kirk Scheibelhut
2019-05-28 13:14:11 -07:00
committed by Guangcong Luo
parent 3bcea69537
commit bc4ec5d2cc

View File

@@ -383,9 +383,6 @@ class BattleLog {
if (this.colorCache[name]) return this.colorCache[name];
let hash;
if (window.Config && Config.customcolors && Config.customcolors[name]) {
if (Config.customcolors[name].color) {
return (this.colorCache[name] = Config.customcolors[name].color);
}
hash = MD5(Config.customcolors[name]);
} else {
hash = MD5(name);