Feat: no console in bg and plugin fix

This commit is contained in:
2026-02-26 12:42:22 +01:00
parent 70032acc75
commit 47099a6eef
3 changed files with 11 additions and 2 deletions

View File

@@ -328,6 +328,11 @@ impl Plugin for CagirePlugin {
AudioCommand::LoadSamples(samples) => {
engine.sample_index.extend(samples);
}
AudioCommand::LoadSoundfont(path) => {
if let Err(e) = engine.load_soundfont(&path) {
eprintln!("Failed to load soundfont: {e}");
}
}
}
}