Update stateChange to handle ROUND_STATE.ENDED instead of ROUND_STATE.FINALE.
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user