diff --git a/src/features/game_networking.rs b/src/features/game_networking.rs index b19b1e1..8dca972 100644 --- a/src/features/game_networking.rs +++ b/src/features/game_networking.rs @@ -138,7 +138,7 @@ impl GameNetworking { Self::is_blocked_generic(FILTER_NAME_SAVE_SERVER) } - pub fn ensure_not_both_blocked_simultaneously( + pub fn ensure_block_exclusivity( &mut self, block_method: BlockMethod, ) -> Result<(), Box> { diff --git a/src/gui/app.rs b/src/gui/app.rs index 27e5f60..ff5aabb 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -258,7 +258,7 @@ impl App { ui.label("Block method"); if let Err(why) = self .game_networking - .ensure_not_both_blocked_simultaneously(self.settings.block_method) + .ensure_block_exclusivity(self.settings.block_method) { log::warn!("Couldn't ensure block exclusivity: {why}"); };