rename ensure_not_both_blocked_simultaneously to ensure_block_exclusivity

This commit is contained in:
2025-11-22 09:27:03 +00:00
parent 23b6c879ae
commit 7190dc05fe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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<dyn Error>> {
+1 -1
View File
@@ -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}");
};