Skip to content

Commit 607252d

Browse files
committed
Call register_runtime_scripts in NOTIFICATION_READY as well.
1 parent 28b46ca commit 607252d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/godot/nodes/ecs_world.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ void WorldECS::_notification(int p_what) {
342342
}
343343
#endif
344344

345+
ScriptEcs::get_singleton()->register_runtime_scripts();
345346
add_to_group("_world_ecs");
346347
if (Engine::get_singleton()->is_editor_hint() == false) {
347348
active_world();

0 commit comments

Comments
 (0)