Skip to content

Commit

Permalink
Restore debug state to map
Browse files Browse the repository at this point in the history
  • Loading branch information
SmylerMC committed Jan 14, 2024
1 parent f7b33e4 commit 5174bb9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 5174bb9

Please sign in to comment.