[fix] Fixed an issue that going back to TitleScene from SelectScene caused segfault.
This commit is contained in:
parent
0480067cbb
commit
a844b073b4
@ -79,7 +79,7 @@ class SelectScene : SceneInterface {
|
||||
}
|
||||
override SceneInterface Update(KeyInput input) {
|
||||
SceneInterface next_scene = this;
|
||||
AbstractSceneState next_state;
|
||||
AbstractSceneState next_state = status_;
|
||||
|
||||
status_.Update(input).visit!(
|
||||
(SceneInterface scene) { next_scene = scene; },
|
||||
|
Reference in New Issue
Block a user