Change hats exclusion rule in hats_js_anim.xhtml
authorWuzzy <Wuzzy2@mail.ru>
Thu, 08 Feb 2018 15:44:08 +0100
changeset 12932 9400a272c88f
parent 12931 502d18361c7e
child 12933 fa402ce826c2
Change hats exclusion rule in hats_js_anim.xhtml
misc/hats_js_anim.xhtml
--- a/misc/hats_js_anim.xhtml	Thu Feb 08 13:54:48 2018 +0100
+++ b/misc/hats_js_anim.xhtml	Thu Feb 08 15:44:08 2018 +0100
@@ -93,7 +93,7 @@
     var r = />([^<]*).png</g;
     var x;
     while(x = r.exec(resp)) 
-        if (!/^Team|NoHat/.test(x[1])) // Exclude team coloured ones as repetitive, NoHat one as uninteresting
+        if (!/NoHat|hair_team|cap_team|TeamTophat/.test(x[1])) // Exclude NoHat as uninteresting. hair_team, cap_team and TeamTophat as repetitive team hats
             masks.push(x[1]);
 
     var opt = document.createElement("option");