mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Divorce map database locking from env lock (#15151)
This commit is contained in:
parent
526a2f7b8c
commit
588a0f83e9
6 changed files with 197 additions and 90 deletions
|
@ -1278,8 +1278,7 @@ static bool recompress_map_database(const GameParams &game_params, const Setting
|
|||
|
||||
{
|
||||
MapBlock mb(v3s16(0,0,0), &server);
|
||||
u8 ver = readU8(iss);
|
||||
mb.deSerialize(iss, ver, true);
|
||||
ServerMap::deSerializeBlock(&mb, iss);
|
||||
|
||||
oss.str("");
|
||||
oss.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue