mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-07-04 13:47:12 -04:00
luacheck fix
This commit is contained in:
parent
5d577a596e
commit
a077f7f748
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ end
|
||||||
|
|
||||||
-- slot reordering to make sure the first rows of the bone are always populated
|
-- slot reordering to make sure the first rows of the bone are always populated
|
||||||
local function bones_inv_reorder(meta)
|
local function bones_inv_reorder(meta)
|
||||||
local next_empty=1 -- there are no empty slots inside the bones before this
|
local next_empty=1 -- there are no empty slots inside the bones before this
|
||||||
local next_populated=1 -- there are no populated slots preceded by unpopulated slots before this
|
local next_populated -- there are no populated slots preceded by unpopulated slots before this
|
||||||
local inv=meta:get_inventory()
|
local inv=meta:get_inventory()
|
||||||
next_empty=find_next_empty(inv,"main",next_empty)
|
next_empty=find_next_empty(inv,"main",next_empty)
|
||||||
if next_empty < 0 then
|
if next_empty < 0 then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue