Make regular ball invisible during playback
This commit is contained in:
parent
8552aeb55d
commit
6c533b522d
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user