Remove ball when replay ends

This commit is contained in:
Sofia 2026-07-26 20:43:09 +03:00
parent b33ba26b5e
commit 721e98f63c

View File

@ -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();
}
}
}