Skip to content

Commit

Permalink
Make the SceneHandler max priority (last)
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Jan 5, 2025
1 parent 38490c5 commit abe0281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/CCScene.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ class SceneHandler : public CCObject {

$execute {
Loader::get()->queueInMainThread([]{
CCScheduler::get()->scheduleUpdateForTarget(SceneHandler::create(), 0, false);
CCScheduler::get()->scheduleUpdateForTarget(SceneHandler::create(), INT_MAX, false);
});
}

0 comments on commit abe0281

Please sign in to comment.