forked from Mirrorlandia_minetest/minetest
Fix client loading not aborting correctly in certain cases
This commit is contained in:
parent
6df0de565f
commit
13013d1b8b
@ -1743,7 +1743,7 @@ bool Game::getServerContent(bool *aborted)
|
|||||||
// End condition
|
// End condition
|
||||||
if (client->mediaReceived() && client->itemdefReceived() &&
|
if (client->mediaReceived() && client->itemdefReceived() &&
|
||||||
client->nodedefReceived()) {
|
client->nodedefReceived()) {
|
||||||
break;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Error conditions
|
// Error conditions
|
||||||
@ -1802,7 +1802,9 @@ bool Game::getServerContent(bool *aborted)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
*aborted = true;
|
||||||
|
infostream << "Connect aborted [device]" << std::endl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user