1
0
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:
Tomas Brod
2015-04-17 17:20:53 +02:00
parent 27ace56819
commit f8f0feeef2

View File

@ -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()