We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234259e commit 5fae9b7Copy full SHA for 5fae9b7
src/tasks/hub_task.rs
@@ -64,15 +64,7 @@ impl Task for HubTask {
64
if let Ok(info) = info_result {
65
let online_player = info.players.online;
66
67
- info!(
68
- "Hub {} has {}/{} players online ({:?})",
69
- instance.get_name(),
70
- online_player,
71
- info.players.max,
72
- instance.get_state()
73
- );
74
-
75
- if instance.get_state() == EpsilonState::Running && online_player < n {
+ if instance.get_state() == EpsilonState::Running && online_player <= n {
76
n = online_player;
77
hub_option = Some(instance);
78
}
0 commit comments