diff options
Diffstat (limited to 'src/script/lua_api/l_mapgen.cpp')
-rw-r--r-- | src/script/lua_api/l_mapgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp index cb1dc1fff..e7e002c16 100644 --- a/src/script/lua_api/l_mapgen.cpp +++ b/src/script/lua_api/l_mapgen.cpp @@ -410,7 +410,7 @@ Biome *read_biome_def(lua_State *L, int index, const NodeDefManager *ndef) // If no cave liquids defined, set list to "ignore" to trigger old hardcoded // cave liquid behaviour. if (nnames == 0) { - nn.push_back("ignore"); + nn.emplace_back("ignore"); nnames = 1; } b->m_nnlistsizes.push_back(nnames); |