mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-08 00:36:11 +00:00
wip small stuff
This commit is contained in:
@@ -149,14 +149,14 @@ impl Server {
|
||||
clients_incoming_lock.len()
|
||||
);
|
||||
for i in 0..clients_incoming_lock.len() {
|
||||
joined_names.push(
|
||||
clients_incoming_lock[i]
|
||||
.info
|
||||
.as_ref()
|
||||
.unwrap()
|
||||
.username
|
||||
.clone(),
|
||||
);
|
||||
let name = clients_incoming_lock[i]
|
||||
.info
|
||||
.as_ref()
|
||||
.unwrap()
|
||||
.username
|
||||
.clone();
|
||||
info!("Welcome {name}!");
|
||||
joined_names.push(name);
|
||||
self.clients.push(clients_incoming_lock.swap_remove(i));
|
||||
}
|
||||
trace!("Accepted incoming clients!");
|
||||
|
||||
Reference in New Issue
Block a user