Skip to content

Commit 6582f14

Browse files
committed
Initialize noteblock at C note
1 parent 79135be commit 6582f14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mesecons_noteblock/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ minetest.register_node("mesecons_noteblock:noteblock", {
1414
mesecon.noteblock_play(pos, node.param2)
1515
end
1616
}},
17+
place_param2 = 11, -- initialize at C note
1718
on_blast = mesecon.on_blastnode,
1819
})
1920

@@ -39,7 +40,7 @@ local soundnames = {
3940
"mesecons_noteblock_a",
4041
"mesecons_noteblock_asharp",
4142
"mesecons_noteblock_b",
42-
"mesecons_noteblock_c"
43+
"mesecons_noteblock_c" -- << noteblock is initialized here
4344
}
4445

4546
local node_sounds = {

0 commit comments

Comments
 (0)