ham_radio/patches/jumpdrive_compat/ham_radio.lua
2019-12-09 17:31:45 +00:00

8 lines
164 B
Lua

jumpdrive.ham_radio_compat = function(from, to)
local meta = minetest.get_meta(to)
ham_radio.delete_transmitter(from)
ham_radio.save_transmitter(to, meta)
end