diff options
Diffstat (limited to 'src/script/lua_api/l_particles.cpp')
-rw-r--r-- | src/script/lua_api/l_particles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_particles.cpp b/src/script/lua_api/l_particles.cpp index 21f27bf8f..06511df07 100644 --- a/src/script/lua_api/l_particles.cpp +++ b/src/script/lua_api/l_particles.cpp @@ -138,7 +138,7 @@ int ModApiParticles::l_add_particle(lua_State *L) lua_getfield(L, 1, "node"); if (lua_istable(L, -1)) - p.node = readnode(L, -1, getGameDef(L)->ndef()); + p.node = readnode(L, -1); lua_pop(L, 1); p.node_tile = getintfield_default(L, 1, "node_tile", p.node_tile); @@ -289,7 +289,7 @@ int ModApiParticles::l_add_particlespawner(lua_State *L) lua_getfield(L, 1, "node"); if (lua_istable(L, -1)) - p.node = readnode(L, -1, getGameDef(L)->ndef()); + p.node = readnode(L, -1); lua_pop(L, 1); p.node_tile = getintfield_default(L, 1, "node_tile", p.node_tile); |