diff --git a/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java b/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java index 3ab5e177..62885917 100644 --- a/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java +++ b/src/main/java/fr/thesmyler/terramap/gui/screens/TerramapScreen.java @@ -314,6 +314,7 @@ private void restore(SavedMainScreenState state) { if (TerramapConfig.CLIENT.saveUiState) { this.f1Mode = state.f1; this.debugMode = state.debug; + this.map.setDebugMode(this.debugMode); } this.infoPanel.setStateNoAnimation(state.infoPanel); if(this.infoPanel.getTarget().equals(PanelTarget.OPENED)) {