Commit prog

This commit is contained in:
2024-09-14 10:23:31 -05:00
parent b4c2ce16a0
commit fb8f6e3f95
10 changed files with 39 additions and 13 deletions

View File

@ -48,4 +48,9 @@ std::shared_ptr<Scene> Game::getCurrentScene() {
}
Game::~Game() {
currentScene = nullptr;
nextFrameScene = nullptr;
assertTrue(SCENE_ITEMS_ACTIVE == 0, "Some scene items are still active?");
assertTrue(SCENE_COMPONENTS_ACTIVE == 0, "Some scene components are still active?");
}