Skip to content

Commit

Permalink
Call register_runtime_scripts in NOTIFICATION_READY as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Beliar83 committed Feb 13, 2023
1 parent f3a5fd2 commit 1412b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/godot/nodes/ecs_world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ void WorldECS::_notification(int p_what) {
}
#endif

ScriptEcs::get_singleton()->register_runtime_scripts();
add_to_group("_world_ecs");
if (Engine::get_singleton()->is_editor_hint() == false) {
active_world();
Expand Down

0 comments on commit 1412b3c

Please sign in to comment.