ham_radio/patches/jumpdrive_compat/ham_radio.lua

8 lines
164 B
Lua
Raw Normal View History

2019-12-09 18:31:45 +01:00
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