diff --git a/game/game.js b/game/game.js index 926a5ab7e..3316844c8 100644 --- a/game/game.js +++ b/game/game.js @@ -318,6 +318,19 @@ ), }; game.dynamicStyle.addObject(result); + + const g2=cs.group( + cs.of( + cs.class("tempname",`${nature}`), + ':not([data-nature])>', + cs.class("span") + ) + ) + let result2={}; + result2[g2]={ + color:`rgba(${color1.join()})`, + }; + game.dynamicStyle.addObject(result2); } }], },