Skip to content

Commit

Permalink
fix: unused msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Sequal32 committed Jun 28, 2023
1 parent 441321d commit f2d7999
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/yourcontrols/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -752,10 +752,8 @@ fn main() {
}
AppMessage::GoObserver => {
if let Some(client) = transfer_client.as_ref() {
if let Some(client_name) = clients.get_client_in_control() {
// Requests server to set self as observer
client.set_self_observer();
}
// Requests server to set self as observer
client.set_self_observer();
}
}
AppMessage::LoadAircraft { config_file_name } => {
Expand Down

0 comments on commit f2d7999

Please sign in to comment.