parent
75c14990e5
commit
047546c59e
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ void World::loadFromLevelDat(QByteArray data)
|
||||||
auto &WorldGen_val = val.at("WorldGenSettings");
|
auto &WorldGen_val = val.at("WorldGenSettings");
|
||||||
randomSeed = read_long(WorldGen_val, "seed");
|
randomSeed = read_long(WorldGen_val, "seed");
|
||||||
}
|
}
|
||||||
catch (std::out_of_range) {}
|
catch (const std::out_of_range &) {}
|
||||||
if(!randomSeed) {
|
if(!randomSeed) {
|
||||||
randomSeed = read_long(val, "RandomSeed");
|
randomSeed = read_long(val, "RandomSeed");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue