summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2015-08-09 21:10:37 +0100
committerest31 <MTest31@outlook.com>2015-08-09 23:36:55 +0200
commita953ff4dfc9f786ee379643b6b498a5699203ff1 (patch)
treeaad20b89b50ebcde3c6aac05b03db5f4db2a5d69 /doc
parent6b39bc686548baa110672c0fd4c18e9a23dca7ad (diff)
downloadminetest-a953ff4dfc9f786ee379643b6b498a5699203ff1.tar.gz
minetest-a953ff4dfc9f786ee379643b6b498a5699203ff1.tar.bz2
minetest-a953ff4dfc9f786ee379643b6b498a5699203ff1.zip
Fix segfaults caused by the Environment not being initialized yet
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
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,