Skip to content

Commit

Permalink
fix settings menu not showing actual settings as clients
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas committed Dec 5, 2024
1 parent d56f990 commit 4d9fe90
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions noita-proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1324,11 +1324,14 @@ impl App {
}
}
ConnectedMenu::Settings => {
self.app_saved_state
.game_settings
.show_editor(ui, netman.peer.is_host());
if netman.peer.is_host() {
self.app_saved_state
.game_settings
.show_editor(ui, true);
self.end_run_button.show(ui, netman);
} else {
netman.settings.lock().unwrap()
.show_editor(ui, false);
}
}
ConnectedMenu::ConnectionInfo => match &netman.peer {
Expand Down

0 comments on commit 4d9fe90

Please sign in to comment.