mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 08:15:38 +07:00
fix tests compilation
This commit is contained in:
@@ -53,7 +53,9 @@ namespace
|
||||
private:
|
||||
bool create_scene() {
|
||||
auto scene_prefab_res = the<library>().load_asset<prefab_asset>("scene_prefab.json");
|
||||
auto scene_go = scene_prefab_res ? the<world>().instantiate(scene_prefab_res) : nullptr;
|
||||
auto scene_go = scene_prefab_res
|
||||
? the<world>().instantiate(scene_prefab_res->content())
|
||||
: nullptr;
|
||||
return !!scene_go;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user