mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-05 00:45:05 -05:00
732eb72a0c
On calling clear_redistered_biomes the registered_biomes table is cleared by creating a new empty table, but the pointer is not updated to point to the new one. So after calling more register_biome, the registered_biome table always contains 0 items, which is an error. Instead, the table is cleared by removing all its items so the pointer (minetest.registered_*) remains valid. |
||
---|---|---|
.. | ||
async | ||
common | ||
fstk | ||
game | ||
mainmenu | ||
init.lua |