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:
parent
1a96987d0f
commit
e46c527733
6 changed files with 68 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue