projects
/
valheim_web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150411e
)
Semicolon missing
author
Greg Burri
<greg.burri@gmail.com>
Mon, 22 Mar 2021 21:43:42 +0000
(22:43 +0100)
committer
Greg Burri
<greg.burri@gmail.com>
Mon, 22 Mar 2021 21:43:42 +0000
(22:43 +0100)
backend/src/valheim_controller.rs
patch
|
blob
|
history
diff --git
a/backend/src/valheim_controller.rs
b/backend/src/valheim_controller.rs
index
8c04e23
..
f8bcbed
100644
(file)
--- a/
backend/src/valheim_controller.rs
+++ b/
backend/src/valheim_controller.rs
@@
-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