mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-14 14:20:33 +01:00
Remove wrong noteblock comment
This commit is contained in:
parent
41b7d1af3b
commit
a28ff4a7dd
|
@ -94,7 +94,6 @@ mesecon.noteblock_play = function(pos, param2)
|
|||
-- Calculate pitch
|
||||
-- Adding 1 to param2 because param2=11 is *lowest* pitch sound
|
||||
local val = (param2+1)%12
|
||||
-- All semitones from C to B (analog to piano mode)
|
||||
pitch = 2^((val-6)/12)
|
||||
end
|
||||
pos.y = pos.y+1
|
||||
|
|
Loading…
Reference in New Issue
Block a user