Commit 8e9ff0c3 authored by SegevLahav's avatar SegevLahav

Merge branch 'develop' into 'master'

Develop

See merge request !123
parents 558a9680 28aa5a01
......@@ -42,7 +42,7 @@ const QuestionStatistics = ({ game }) => {
</div>
</div>
<Answers answers={question.answers} game={game} />
<audio src="/gong.mp3" autoPlay />
{game.isManager() ? <audio src="/gong.mp3" autoPlay /> : ''}
</div>
);
};
......
......@@ -50,7 +50,7 @@ const Question = ({ game }) => {
</div>
</div>
<Answers answers={question.answers} game={game} />
<audio src={`/game-audio-${Math.floor(Math.random() * 3) + 1}.mp3`} autoPlay loop />
{game.isManager() ? <audio src={`/game-audio-${Math.floor(Math.random() * 3) + 1}.mp3`} autoPlay loop /> : ''}
</div>
);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment