@@ -24,6 +24,7 @@ void Universe::load(std::string const & name, std::string const & fallback) {
if (!fs::exists(location)) { return; }
auto import = [this](fs::path const & file) {
+ if (file.extension() != "json") { return; }
Json::Value json;
std::ifstream in(file.string());
in >> json;