mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-12-14 11:56:16 +01:00
-client now compiles with --no-default-features again + small bugfix for syncplayer
This commit is contained in:
@@ -8,6 +8,7 @@ use std::{
|
||||
};
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
#[cfg(feature = "speedy2d")]
|
||||
use gui::GuiEvent;
|
||||
use musicdb_lib::{
|
||||
data::{
|
||||
@@ -40,6 +41,7 @@ mod gui_settings;
|
||||
mod gui_text;
|
||||
#[cfg(feature = "speedy2d")]
|
||||
mod gui_wrappers;
|
||||
#[cfg(feature = "speedy2d")]
|
||||
mod textcfg;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
@@ -91,7 +93,7 @@ fn main() {
|
||||
thread::spawn(move || {
|
||||
let mut player =
|
||||
if matches!(mode, Mode::SyncplayerLocal { .. } | Mode::SyncplayerNetwork) {
|
||||
Some(Player::new().unwrap())
|
||||
Some(Player::new().unwrap().without_sending_commands())
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user