mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Remove Config.customcolors 'color' options (#1286)
This commit is contained in:
committed by
Guangcong Luo
parent
3bcea69537
commit
bc4ec5d2cc
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user