diff --git a/html-client/src/components/game.container.js b/html-client/src/components/game.container.js index 8adac3fd..17a41dba 100644 --- a/html-client/src/components/game.container.js +++ b/html-client/src/components/game.container.js @@ -8,9 +8,9 @@ const addState = connect( function receiveState(state) { const { ws, game, account, activeSkill, activeIncoming } = state; - function selectSkillTarget(targetTeamId) { + function selectSkillTarget(targetCrypId) { if (activeSkill) { - return ws.sendGameSkill(game.id, activeSkill.crypId, targetTeamId, activeSkill.skill.skill); + return ws.sendGameSkill(game.id, activeSkill.crypId, targetCrypId, activeSkill.skill.skill); } return false; } diff --git a/html-client/src/components/game.jsx b/html-client/src/components/game.jsx index 4327a515..f1a2f004 100644 --- a/html-client/src/components/game.jsx +++ b/html-client/src/components/game.jsx @@ -103,24 +103,28 @@ function GamePanel(props) { )); return ( -
{cryp.name}
-{cryp.name}
+