1
This commit is contained in:
parent
877716cd68
commit
e59d206cd5
@ -201,7 +201,8 @@ namespace mt
|
||||
};
|
||||
|
||||
a8::XObject root;
|
||||
if (root.ReadFromFile(MetaMgr::Instance()->GetResDir() + world_object_file())) {
|
||||
if (!world_object_file().empty() &&
|
||||
root.ReadFromFile(MetaMgr::Instance()->GetResDir() + world_object_file())) {
|
||||
{
|
||||
auto thing = root.At("thing");
|
||||
for (int i = 0; i < thing->Size(); ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user