Update stateChange to handle ROUND_STATE.ENDED instead of ROUND_STATE.FINALE.

This commit is contained in:
akastijn 2026-07-11 22:20:03 +02:00
parent 416c44a8f3
commit 21f12904ac

View File

@ -45,7 +45,7 @@ public class StatService implements RoundListener {
@Override
public void stateChange(ROUND_STATE roundState) {
if (roundState.equals(ROUND_STATE.FINALE)) {
if (roundState.equals(ROUND_STATE.ENDED)) {
saveRoundStats();
}
if (roundState.equals(ROUND_STATE.PLAYER_REGISTRATION)) {