mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 12:53:51 +00:00
Fix exception for empty dialog topics (Fixes #2267)
This commit is contained in:
parent
5b9d10f851
commit
37bea9d4dc
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ public:
|
||||||
|
|
||||||
void seed (string_t keyword, value_t value)
|
void seed (string_t keyword, value_t value)
|
||||||
{
|
{
|
||||||
|
if (keyword.empty())
|
||||||
|
return;
|
||||||
seed_impl (/*std::move*/ (keyword), /*std::move*/ (value), 0, mRoot);
|
seed_impl (/*std::move*/ (keyword), /*std::move*/ (value), 0, mRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue