From 600a34220012204ab99c6ba5b2916b0615760e78 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 26 Oct 2022 17:45:45 +0900 Subject: [PATCH] [ruamoko] Fix missing entity registry pointer --- libs/ruamoko/rua_scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ruamoko/rua_scene.c b/libs/ruamoko/rua_scene.c index a7de142b3..210e19be5 100644 --- a/libs/ruamoko/rua_scene.c +++ b/libs/ruamoko/rua_scene.c @@ -120,6 +120,7 @@ rua__entity_get (rua_scene_resources_t *res, pr_ulong_t id, const char *name) if (scene) { pr_int_t entity_id = id >> 32; ent.id = entity_id; + ent.reg = scene->scene->reg; } if (!Entity_Valid (ent)) {