1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-01-05 04:50:18 +01:00

cb renamed to callback

This commit is contained in:
Imre Péntek 2024-03-31 23:55:05 +02:00
parent 357f87abad
commit dbfaad4610

View File

@ -309,8 +309,8 @@ end)
local function collect_items(player, player_name)
local items = {}
for _, cb in ipairs(collect_items_callbacks) do
table.insert_all(items, cb(player))
for _, callback in ipairs(collect_items_callbacks) do
table.insert_all(items, callback(player))
end
return items
end