Initialize noteblock at C note

This commit is contained in:
Wuzzy 2020-09-18 02:42:28 +02:00
parent 79135be97a
commit 6582f1445f
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ minetest.register_node("mesecons_noteblock:noteblock", {
mesecon.noteblock_play(pos, node.param2)
end
}},
place_param2 = 11, -- initialize at C note
on_blast = mesecon.on_blastnode,
})
@ -39,7 +40,7 @@ local soundnames = {
"mesecons_noteblock_a",
"mesecons_noteblock_asharp",
"mesecons_noteblock_b",
"mesecons_noteblock_c"
"mesecons_noteblock_c" -- << noteblock is initialized here
}
local node_sounds = {