diff options
| author | SmallJoker <mk939@ymail.com> | 2019-05-21 19:16:01 +0200 |
|---|---|---|
| committer | SmallJoker <mk939@ymail.com> | 2019-05-21 19:16:01 +0200 |
| commit | cfef466d4ef2eee5586bbd8afacc64e4a1939d88 (patch) | |
| tree | fe361fc860bf13beb19c23d703ed0cc0390388d1 | |
| parent | 12e3d3d12f919a141f5032645d03bda2ad4489f5 (diff) | |
| download | dragonfireclient-cfef466d4ef2eee5586bbd8afacc64e4a1939d88.tar.xz | |
l_mapgen.cpp: Fix LINT broken since b1b40fe
| -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); |
