hopefully fixed web world creation

This commit is contained in:
2026-07-20 23:35:32 +03:00
parent 7620d49489
commit 09cc2ceee4
2 changed files with 3 additions and 4 deletions

View File

@@ -293,7 +293,7 @@ void Minecraft::setLevel(Level* level, const std::string& message /* ="" */, Loc
level->ops.emplace(op);
_hasSignaledGeneratingLevelFinished = false;
#ifdef STANDALONE_SERVER
#if defined(STANDALONE_SERVER) || defined(PLATFORM_WEB)
const bool threadedLevelCreation = false;
#else
const bool threadedLevelCreation = true;