Fix error
This commit is contained in:
parent
460b362d5c
commit
6cd8515449
@ -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]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user