Make regular ball invisible during playback

This commit is contained in:
Sofia 2026-07-26 20:35:19 +03:00
parent 8552aeb55d
commit 6c533b522d

View File

@ -362,6 +362,9 @@ impl Game {
character.set_visible(false); character.set_visible(false);
} }
} }
if let Some(ball) = &mut self.world_ball {
ball.set_visible(false);
}
} }
pub fn stop_playback(&mut self) { pub fn stop_playback(&mut self) {
@ -373,6 +376,9 @@ impl Game {
character.set_visible(true); character.set_visible(true);
} }
} }
if let Some(ball) = &mut self.world_ball {
ball.set_visible(true);
}
} }
pub fn start_game(&mut self) { pub fn start_game(&mut self) {