1
0
Fork 0
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:
sfan5 2024-09-11 19:17:08 +02:00
parent 526a2f7b8c
commit 588a0f83e9
6 changed files with 197 additions and 90 deletions

View file

@ -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();