mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Close #11437: Migrate old platform methods
This commit is contained in:
committed by
GitHub
parent
b424682934
commit
5edc561715
@@ -22,7 +22,7 @@
|
||||
# include "../core/Memory.hpp"
|
||||
# include "../core/Path.hpp"
|
||||
# include "../core/String.hpp"
|
||||
# include "../platform/Platform2.h"
|
||||
# include "../platform/Platform.h"
|
||||
# include "Socket.h"
|
||||
# include "network.h"
|
||||
|
||||
@@ -286,7 +286,7 @@ std::future<std::vector<ServerListEntry>> ServerList::FetchLocalServerListAsync(
|
||||
{
|
||||
log_warning("Error receiving data: %s", e.what());
|
||||
}
|
||||
platform_sleep(RECV_DELAY_MS);
|
||||
Platform::Sleep(RECV_DELAY_MS);
|
||||
}
|
||||
return entries;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user