always highlight opponent in tutorial

This commit is contained in:
ntr 2020-01-19 12:26:18 +10:00
parent 8e18ca033f
commit 09cf3c3f3f

View File

@ -79,7 +79,7 @@ class GameConstruct extends preact.Component {
};
const unfocus = animFocus && !animFocus.includes(construct.id) ? 'unfocus' : '';
const highlight = !authenticated && activeSkill && game.stack.length === 0 ? 'highlight' : '';
const highlight = !authenticated && activeSkill ? 'highlight' : '';
const crypSkills = player
? <div class="skills"> {range(0, 3).map(j => <SkillBtn key={j} construct={construct} i={j} />)} </div>