Module:MOS mode degrees: Difference between revisions
Added tiebreaker for modmos modes with more than one "closest mode": use the darkest of the closest modes |
m Commented out tiebreaker code for testing |
||
| Line 467: | Line 467: | ||
-- If the current mode had the same number of alterations but is of a darker mode, update | -- If the current mode had the same number of alterations but is of a darker mode, update | ||
if number_of_alterations == lowest_number_of_alterations then | --if number_of_alterations == lowest_number_of_alterations then | ||
-- index_of_closest_mode = i | |||
end | --end | ||
end | end | ||