nicen up game_networking

This commit is contained in:
2025-11-21 10:01:41 +00:00
parent 47adf42a48
commit a58606c91d
2 changed files with 21 additions and 29 deletions
+3 -3
View File
@@ -168,7 +168,7 @@ impl App {
.on_hover_text(
"This turns yellow if GTA Tools\ncannot find your game.",
);
self.game_networking.if_failed_return_to_boolean();
self.game_networking.reset_if_failed();
label
});
ui.horizontal(|ui| {
@@ -179,13 +179,13 @@ impl App {
.add_sized([button_width, 18.0], egui::Button::new("Block"))
.clicked()
{
self.game_networking.block_all(&mut self.system_info);
self.game_networking.block_exe(&mut self.system_info);
}
if ui
.add_sized([button_width, 18.0], egui::Button::new("Unblock"))
.clicked()
{
self.game_networking.unblock_all();
self.game_networking.unblock_exe();
}
});
});