mirror of
https://codeberg.org/demostf/sync.git
synced 2026-06-04 00:54:08 +02:00
remove unneeded clones
This commit is contained in:
parent
744fe16df5
commit
083e9504bc
1 changed files with 2 additions and 2 deletions
|
|
@ -88,11 +88,11 @@ fn handle_command(
|
||||||
session.join(sender);
|
session.join(sender);
|
||||||
session.send_command(&SyncCommand::Tick {
|
session.send_command(&SyncCommand::Tick {
|
||||||
tick: session.tick,
|
tick: session.tick,
|
||||||
session: session_name.clone(),
|
session: session_name,
|
||||||
});
|
});
|
||||||
session.send_command(&SyncCommand::Play {
|
session.send_command(&SyncCommand::Play {
|
||||||
play: session.playing,
|
play: session.playing,
|
||||||
session: session_name.clone(),
|
session: session_name,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
None => println!("session {} not found", session_name),
|
None => println!("session {} not found", session_name),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue