aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-05-21 19:16:01 +0200
committerSmallJoker <mk939@ymail.com>2019-05-21 19:16:01 +0200
commitcfef466d4ef2eee5586bbd8afacc64e4a1939d88 (patch)
treefe361fc860bf13beb19c23d703ed0cc0390388d1 /src
parent12e3d3d12f919a141f5032645d03bda2ad4489f5 (diff)
downloadminetest-cfef466d4ef2eee5586bbd8afacc64e4a1939d88.tar.gz
minetest-cfef466d4ef2eee5586bbd8afacc64e4a1939d88.tar.bz2
minetest-cfef466d4ef2eee5586bbd8afacc64e4a1939d88.zip
l_mapgen.cpp: Fix LINT broken since b1b40fe
Diffstat (limited to 'src')
-rw-r--r--src/script/lua_api/l_mapgen.cpp2
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);