Semicolon missing
authorGreg Burri <greg.burri@gmail.com>
Mon, 22 Mar 2021 21:43:42 +0000 (22:43 +0100)
committerGreg Burri <greg.burri@gmail.com>
Mon, 22 Mar 2021 21:43:42 +0000 (22:43 +0100)
backend/src/valheim_controller.rs

index 8c04e23..f8bcbed 100644 (file)
@@ -110,7 +110,7 @@ fn get_active_players() -> Vec<String> {
                             if let Some(pos_end) = nb_of_connections_str.find(' ') {\r
                                 if let Ok(n) = nb_of_connections_str.get(0..pos_end).unwrap().parse() {\r
                                     if number_of_connections == -1 {\r
-                                        number_of_connections = n as i32\r
+                                        number_of_connections = n as i32;\r
 \r
                                         if players.len() as i32 >= number_of_connections {\r
                                             return players;\r