-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segfaults caused by the Environment not being initialized yet
1 parent
6b39bc6
commit a953ff4
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rubenwardy
Author
Contributor
|
||
* `Deprecated: minetest.add_particlespawner(amount, time, | ||
minpos, maxpos, | ||
minvel, maxvel, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nil
would be more consistent with the rest of the API.