until (1 == #PlayerChanges) or (PlayerChanges[#PlayerChanges].NextPlayer[i] ~= PlayerChanges[#PlayerChanges-1].NextPlayer[i]) or (#Teams[i].Players == 1);
end;
end;
function PrepareChanges()
Lines = ScreenSing.GetSongLines();
Teams = Party.GetTeams();
-- get sum of hittable beats (per line and total)
local TotalBeats = 0;
local LineValue = {};
for i = 1, #Lines do
for j = 1, #Lines[i].Notes do
LineValue[i] = (LineValue[i] or 0) + Lines[i].Notes[j].Length * Lines[i].Notes[j].NoteType;