mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 18:00:21 +02:00
* add missing pairs() call
This commit is contained in:
@ -398,7 +398,7 @@ local function make_registration_wrap(reg_fn_name, clear_fn_name)
|
||||
|
||||
local orig_clear_fn = core[clear_fn_name]
|
||||
core[clear_fn_name] = function()
|
||||
for k in list do
|
||||
for k in pairs(list) do
|
||||
list[k]=nil
|
||||
end
|
||||
return orig_clear_fn()
|
||||
|
Reference in New Issue
Block a user