mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
fix empty objects list triggering an assertion failure
This commit is contained in:
@@ -102,6 +102,7 @@ TmxReader::Error TmxReader::Open(const std::string& inPath,
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!objs.empty())
|
||||||
mObjects.emplace(objs);
|
mObjects.emplace(objs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user