Skip to content

Commit

Permalink
Initialize noteblock at C note
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 committed Mar 14, 2023
1 parent 79135be commit 6582f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesecons_noteblock/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand All @@ -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 = {
Expand Down

0 comments on commit 6582f14

Please sign in to comment.