mirror of
https://codeberg.org/demostf/sync.git
synced 2026-06-03 16:44:07 +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.send_command(&SyncCommand::Tick {
|
||||
tick: session.tick,
|
||||
session: session_name.clone(),
|
||||
session: session_name,
|
||||
});
|
||||
session.send_command(&SyncCommand::Play {
|
||||
play: session.playing,
|
||||
session: session_name.clone(),
|
||||
session: session_name,
|
||||
});
|
||||
}
|
||||
None => println!("session {} not found", session_name),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue