From cfef466d4ef2eee5586bbd8afacc64e4a1939d88 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 21 May 2019 19:16:01 +0200 Subject: [PATCH] l_mapgen.cpp: Fix LINT broken since b1b40fe --- src/script/lua_api/l_mapgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1