Fix error

This commit is contained in:
Sofia 2026-07-26 22:01:18 +03:00
parent 460b362d5c
commit 6cd8515449

View File

@ -186,9 +186,11 @@ impl MainMenu {
} }
pub fn on_open_replay(&mut self, path: GString) { pub fn on_open_replay(&mut self, path: GString) {
self.run_deferred(move |_| {
StandaloneReplayManager::singleton() StandaloneReplayManager::singleton()
.bind_mut() .bind_mut()
.open_replay(&path); .open_replay(&path);
});
} }
#[func] #[func]