Update stateChange to handle ROUND_STATE.ENDED instead of ROUND_STATE.FINALE.
This commit is contained in:
parent
416c44a8f3
commit
21f12904ac
|
|
@ -45,7 +45,7 @@ public class StatService implements RoundListener {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void stateChange(ROUND_STATE roundState) {
|
public void stateChange(ROUND_STATE roundState) {
|
||||||
if (roundState.equals(ROUND_STATE.FINALE)) {
|
if (roundState.equals(ROUND_STATE.ENDED)) {
|
||||||
saveRoundStats();
|
saveRoundStats();
|
||||||
}
|
}
|
||||||
if (roundState.equals(ROUND_STATE.PLAYER_REGISTRATION)) {
|
if (roundState.equals(ROUND_STATE.PLAYER_REGISTRATION)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user