Skip to content

Commit 13c69b7

Browse files
authored
sounds update (#77)
1 parent b353bae commit 13c69b7

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

app/src/main/java/com/chess/clock/activities/ClockTimersActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ private void onPlayerClockClicked(boolean firstPlayer) {
449449
if (timerState == playerTimerRunning || timerState == TimersState.PAUSED) {
450450
getClockManager().pressClock(player);
451451
timerState = firstPlayer ? TimersState.PLAYER_TWO_RUNNING : TimersState.PLAYER_ONE_RUNNING;
452-
soundManager.playSound(ClockSound.PLAYER_ONE_MOVE, audioManager);
452+
soundManager.playSound(firstPlayer ? ClockSound.PLAYER_ONE_MOVE : ClockSound.PLAYER_TWO_MOVE, audioManager);
453453
updateUIState();
454454
} else if (timerState == TimersState.PLAYER_ONE_FINISHED || timerState == TimersState.PLAYER_TWO_FINISHED) {
455455
showResetClockDialog();
3.45 KB
Binary file not shown.
-888 Bytes
Binary file not shown.
-1.58 KB
Binary file not shown.

0 commit comments

Comments
 (0)