1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Mainmenu: Use textarea in error formspecs

This commit is contained in:
SmallJoker 2019-08-01 11:56:26 +02:00
parent ec3142af99
commit 3ceef8e6a0
2 changed files with 31 additions and 43 deletions

View file

@ -4256,7 +4256,8 @@ void the_game(bool *kill,
error_message = e.what();
errorstream << "ServerError: " << error_message << std::endl;
} catch (ModError &e) {
error_message = e.what() + strgettext("\nCheck debug.txt for details.");
errorstream << "ModError: " << error_message << std::endl;
error_message = std::string("ModError: ") + e.what() +
strgettext("\nCheck debug.txt for details.");
errorstream << error_message << std::endl;
}
}