diff --git a/beacon.lua b/beacon.lua index 623cfe0..2ff8fcc 100644 --- a/beacon.lua +++ b/beacon.lua @@ -1,12 +1,12 @@ minetest.register_node("ham_radio:beacon", { description = "Radio Beacon", tiles = { - "ham_radio_transmitter_top.png", - "ham_radio_transmitter_top.png", - "ham_radio_transmitter_side.png", - "ham_radio_transmitter_side.png", - "ham_radio_transmitter_side.png", - "ham_radio_beacon_front.png" + "ham_radio_transmitter_top.png", + "ham_radio_transmitter_top.png", + "ham_radio_transmitter_side.png", + "ham_radio_transmitter_side.png", + "ham_radio_transmitter_side.png", + "ham_radio_beacon_front.png" }, groups = {cracky=2,oddly_breakable_by_hand=2}, sounds = default.node_sound_metal_defaults(), @@ -23,7 +23,7 @@ minetest.register_node("ham_radio:beacon", { if minetest.is_player(placer) then local name = placer:get_player_name() meta:set_string('operated_by', name) - ham_radio.play_tuning_sound(placer) + ham_radio.play_tuning_sound(placer) end meta:set_string("frequency", ham_radio.find_free_frequency(ham_radio.settings.beacon_frequency)) ham_radio.transmitter_update_infotext(meta) diff --git a/rds.lua b/rds.lua index f96e7ae..42e3270 100644 --- a/rds.lua +++ b/rds.lua @@ -58,7 +58,7 @@ function ham_radio:update_rds(player) minetest.chat_send_player(player:get_player_name(), minetest.colorize(ham_radio.settings.rds_color, message)) -- when all RDS messages are shown, reload them again - if not next(ham_radio.player_rds[name]) then + if not next(ham_radio.player_rds[name]) then ham_radio.player_rds[name] = ham_radio.get_rds_messages(frequency) end end diff --git a/receiver_station.lua b/receiver_station.lua index b557fdf..8da7b06 100644 --- a/receiver_station.lua +++ b/receiver_station.lua @@ -10,12 +10,12 @@ end minetest.register_node("ham_radio:receiver", { description = "Ham Radio Receiver", tiles = { - "ham_radio_receiver_top.png", - "ham_radio_receiver_top.png", - "ham_radio_receiver_side.png", - "ham_radio_receiver_side.png", - "ham_radio_receiver_side.png", - "ham_radio_receiver_front.png" + "ham_radio_receiver_top.png", + "ham_radio_receiver_top.png", + "ham_radio_receiver_side.png", + "ham_radio_receiver_side.png", + "ham_radio_receiver_side.png", + "ham_radio_receiver_front.png" }, groups = {cracky=2,oddly_breakable_by_hand=2}, sounds = default.node_sound_metal_defaults(),