fix: Game no es desregistrava de ServiceMenu al destruirse
This commit is contained in:
@@ -124,6 +124,7 @@ Game::~Game() {
|
|||||||
Section::attract_mode = Section::AttractMode::TITLE_TO_DEMO;
|
Section::attract_mode = Section::AttractMode::TITLE_TO_DEMO;
|
||||||
Audio::get()->stopMusic();
|
Audio::get()->stopMusic();
|
||||||
}
|
}
|
||||||
|
ServiceMenu::get()->setStateChangeCallback(nullptr);
|
||||||
|
|
||||||
#ifdef RECORDING
|
#ifdef RECORDING
|
||||||
saveDemoFile(Asset::get()->get("demo1.bin"), demo_.data.at(0));
|
saveDemoFile(Asset::get()->get("demo1.bin"), demo_.data.at(0));
|
||||||
|
|||||||
Reference in New Issue
Block a user