From: Greg Burri Date: Mon, 22 Mar 2021 21:43:42 +0000 (+0100) Subject: Semicolon missing X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=13f9c346e9581b327f4544fcaae23c9f456c7ac2;p=valheim_web.git Semicolon missing --- diff --git a/backend/src/valheim_controller.rs b/backend/src/valheim_controller.rs index 8c04e23..f8bcbed 100644 --- a/backend/src/valheim_controller.rs +++ b/backend/src/valheim_controller.rs @@ -110,7 +110,7 @@ fn get_active_players() -> Vec { if let Some(pos_end) = nb_of_connections_str.find(' ') { if let Ok(n) = nb_of_connections_str.get(0..pos_end).unwrap().parse() { if number_of_connections == -1 { - number_of_connections = n as i32 + number_of_connections = n as i32; if players.len() as i32 >= number_of_connections { return players;