refactor: remove usage of win32 Sleep function for this_thread::sleep_for

This commit is contained in:
Tropical committed 2026-03-25 19:12:11 -05:00
1 parent f4a2db1252
commit 8e94b763a7
23 files changed
+144 -78

No files matched your search

@@ -1,3 +1,6 @@
#include <thread>
#include <chrono>
#include "../Platform/stdafx.h"
#include "ServerChunkCache.h"
#include "../Level/ServerLevel.h"
@@ -277,7 +280,7 @@ LevelChunk* ServerChunkCache::create(
}
#ifdef __PS3__
Sleep(1);
std::this_thread::sleep_for(std::chrono::milliseconds(1));
#endif // __PS3__
return chunk;
}