diff --git a/rust/src/replay.rs b/rust/src/replay.rs index 0d98783..c9e9cd6 100644 --- a/rust/src/replay.rs +++ b/rust/src/replay.rs @@ -148,6 +148,9 @@ impl INode for ReplayPlayback { character.queue_free(); self.player_characters.remove(&id); } + if let Some(mut ball) = self.ball.take() { + ball.queue_free(); + } } }