1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

l_mapgen.cpp: Fix LINT broken since b1b40fe

This commit is contained in:
SmallJoker
2019-05-21 19:16:01 +02:00
parent 12e3d3d12f
commit cfef466d4e

View File

@@ -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);