1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Remove unneeded ObjectRef setter return values (#12179)

This commit is contained in:
Lars Müller 2022-04-10 23:20:51 +02:00 committed by GitHub
parent 2d8eac4e0a
commit 1f27bf6380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 31 deletions

View file

@ -7023,7 +7023,6 @@ object you are working with still exists.
* `light_definition` is a table with the following optional fields:
* `shadows` is a table that controls ambient shadows
* `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness)
* Returns true on success.
* `get_lighting()`: returns the current state of lighting for the player.
* Result is a table with the same fields as `light_definition` in `set_lighting`.