Prevent bug when refreshing arenas too early
This commit is contained in:
parent
48f9f147d8
commit
932e9b2560
@ -320,6 +320,12 @@ namespace Components
|
|||||||
|
|
||||||
void Maps::ForceRefreshArenas()
|
void Maps::ForceRefreshArenas()
|
||||||
{
|
{
|
||||||
|
if (!FastFiles::Ready())
|
||||||
|
{
|
||||||
|
Logger::Print("Not refreshing arenas (fastfiles are not ready yet)\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (Game::Sys_IsMainThread())
|
if (Game::Sys_IsMainThread())
|
||||||
{
|
{
|
||||||
if (*Game::g_quitRequested)
|
if (*Game::g_quitRequested)
|
||||||
|
Loading…
Reference in New Issue
Block a user