diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:00:12 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:00:12 +0100 |
commit | aa00be5fae68e4ccb7b592f1193d86f09105723a (patch) | |
tree | 47fcc6aad7b18723b926608e5177f677e4493801 /src/crepe/api/SceneManager.cpp | |
parent | 502fb8e8d1dcfe10f55fdef2cdfb71afec806204 (diff) | |
parent | 1bc04b371f2cc8740f2ee039f75101922da671d6 (diff) |
Merge branch 'master' into loek/scripts
Diffstat (limited to 'src/crepe/api/SceneManager.cpp')
-rw-r--r-- | src/crepe/api/SceneManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/SceneManager.cpp b/src/crepe/api/SceneManager.cpp index 7fb5cb0..1f783ad 100644 --- a/src/crepe/api/SceneManager.cpp +++ b/src/crepe/api/SceneManager.cpp @@ -18,7 +18,7 @@ void SceneManager::load_next_scene() { auto it = find_if(this->scenes.begin(), this->scenes.end(), [&next_scene = this->next_scene](unique_ptr<Scene> & scene) { - return scene->name == next_scene; + return scene.get()->get_name() == next_scene; }); // next scene not found |