1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Accept hexadecimal and string values for seeds

This commit is contained in:
kwolekr 2013-09-17 02:57:10 -04:00
parent 1a96987d0f
commit e46c527733
6 changed files with 68 additions and 2 deletions

View file

@ -3507,7 +3507,7 @@ void ServerMap::loadMapMeta()
m_seed = mgparams->seed;
} else {
if (params.exists("seed")) {
m_seed = params.getU64("seed");
m_seed = read_seed(params.get("seed").c_str());
m_mgparams->seed = m_seed;
}
}