mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Fix client loading not aborting correctly in certain cases
This commit is contained in:
parent
6df0de565f
commit
13013d1b8b
1 changed files with 4 additions and 2 deletions
|
@ -1743,7 +1743,7 @@ bool Game::getServerContent(bool *aborted)
|
|||
// End condition
|
||||
if (client->mediaReceived() && client->itemdefReceived() &&
|
||||
client->nodedefReceived()) {
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Error conditions
|
||||
|
@ -1802,7 +1802,9 @@ bool Game::getServerContent(bool *aborted)
|
|||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
*aborted = true;
|
||||
infostream << "Connect aborted [device]" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue