Module:MOS tuning spectrum: Difference between revisions
move step ratio simplification further up |
m bugfix |
||
| Line 133: | Line 133: | ||
-- Cell for comment | -- Cell for comment | ||
-- Default comments are on their own line before custom comments | -- Default comments are on their own line before custom comments | ||
local key = | local key = step_ratio[1] .. "/" .. step_ratio[2] -- The step ratio is (literally and figuratively) the key to add comments! | ||
local comment = "" | local comment = "" | ||
local default_comment = default_comments[key] or "" | local default_comment = default_comments[key] or "" | ||