diff --git a/src/main/java/it/polimi/ingsw/gc14/View/GUI/MainFXMLController.java b/src/main/java/it/polimi/ingsw/gc14/View/GUI/MainFXMLController.java index b652082..07bc801 100644 --- a/src/main/java/it/polimi/ingsw/gc14/View/GUI/MainFXMLController.java +++ b/src/main/java/it/polimi/ingsw/gc14/View/GUI/MainFXMLController.java @@ -167,7 +167,8 @@ public class MainFXMLController { public void render() { if(foodLabels.isEmpty() || controller.getMiniModel().lastEvent == null || controller.getMiniModel().lastEvent.getEventType().equals(EventType.TOTEM_CHOICE) - || controller.getMiniModel().lastEvent.getEventType().equals(EventType.RECONNECT_PLAYER)) + || controller.getMiniModel().lastEvent.getEventType().equals(EventType.RECONNECT_PLAYER) + || controller.getMiniModel().lastEvent.getEventType().equals(EventType.DISCONNECTED_PLAYER)) buildSidePanel(); if(isError) {