added notification to change to startdialog state when calling next in statitics state

This commit is contained in:
Hanno Fleischer
2024-12-11 13:43:15 +01:00
parent ea25f66dae
commit 5854609b12

View File

@@ -2,6 +2,7 @@
import pp.mdga.client.ClientGameLogic;
import pp.mdga.client.ClientState;
import pp.mdga.notification.StartDialogNotification;
public class StatisticsState extends CeremonyStates {
@@ -36,6 +37,7 @@ public void exit() {
*/
@Override
public void selectNext() {
logic.addNotification(new StartDialogNotification());
logic.setState(logic.getDialogs());
}
}