From a953ff4dfc9f786ee379643b6b498a5699203ff1 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 9 Aug 2015 21:10:37 +0100 Subject: Fix segfaults caused by the Environment not being initialized yet --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 673eed620..9f435fd44 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2192,7 +2192,7 @@ These functions return the leftover itemstack. * `minetest.add_particlespawner(particlespawner definition)` * Add a `ParticleSpawner`, an object that spawns an amount of particles over `time` seconds - * Returns an `id` + * Returns an `id`, and -1 if adding didn't succeed * `Deprecated: minetest.add_particlespawner(amount, time, minpos, maxpos, minvel, maxvel, -- cgit v1.2.3