diff --git a/rust/src/game_manager.rs b/rust/src/game_manager.rs index 519b192..d20c7aa 100644 --- a/rust/src/game_manager.rs +++ b/rust/src/game_manager.rs @@ -362,6 +362,9 @@ impl Game { character.set_visible(false); } } + if let Some(ball) = &mut self.world_ball { + ball.set_visible(false); + } } pub fn stop_playback(&mut self) { @@ -373,6 +376,9 @@ impl Game { character.set_visible(true); } } + if let Some(ball) = &mut self.world_ball { + ball.set_visible(true); + } } pub fn start_game(&mut self) {