mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add gui.alert & critical fixes
This commit is contained in:
parent
b9ff1db086
commit
a3d35cd10f
7 changed files with 52 additions and 25 deletions
|
|
@ -151,7 +151,7 @@ static void load_world(
|
|||
engine.onWorldOpen(std::move(level));
|
||||
} catch (const world_load_error& error) {
|
||||
guiutil::alert(
|
||||
engine.getGUI()->getMenu(),
|
||||
engine,
|
||||
langs::get(L"Error") + L": " + util::str2wstr_utf8(error.what())
|
||||
);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue