diff --git a/mods/bones/init.lua b/mods/bones/init.lua index 289e925d2f..ddf966534a 100644 --- a/mods/bones/init.lua +++ b/mods/bones/init.lua @@ -305,8 +305,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