test + remove print

This commit is contained in:
2025-07-05 20:59:53 +02:00
parent f0f9981ca9
commit 85c2234033
2 changed files with 22 additions and 1 deletions

View File

@@ -127,7 +127,6 @@ pub struct Polygon {
impl Polygon {
pub fn update(&mut self) {
let path = format!("./assets/{0}", &self.sound_name);
eprintln!("path:{path}");
self.sound = StaticSoundData::from_file(&path).expect("fail to load the sound");
self.color = string_to_color(&self.color_name);
}