mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 21:50:25 +00:00
fixup 'improve error message in case of an invalid unittype in [side]'
This commit is contained in:
parent
2f6bb71b82
commit
15afec7202
@ -287,7 +287,7 @@ protected:
|
||||
uc.add_unit(*u);
|
||||
}
|
||||
catch (const unit_type::error& e) {
|
||||
ERR_NG_TC << e << "\n";
|
||||
ERR_NG_TC << e.what() << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user