TimingData functions take true to return useful numbers instead of stupid strings.
This commit is contained in:
@@ -30,13 +30,13 @@ local function CreateSegments(Player)
|
|||||||
local firstBeatSecs = song:GetFirstSecond();
|
local firstBeatSecs = song:GetFirstSecond();
|
||||||
local lastBeatSecs = song:GetLastSecond();
|
local lastBeatSecs = song:GetLastSecond();
|
||||||
|
|
||||||
local bpms = timingData:GetBPMsAndTimes();
|
local bpms = timingData:GetBPMsAndTimes(true);
|
||||||
local stops = timingData:GetStops();
|
local stops = timingData:GetStops(true);
|
||||||
local delays = timingData:GetDelays();
|
local delays = timingData:GetDelays(true);
|
||||||
local warps = timingData:GetWarps();
|
local warps = timingData:GetWarps(true);
|
||||||
local fakes = timingData:GetFakes();
|
local fakes = timingData:GetFakes(true);
|
||||||
local scrolls = timingData:GetScrolls();
|
local scrolls = timingData:GetScrolls(true);
|
||||||
local speeds = timingData:GetSpeeds();
|
local speeds = timingData:GetSpeeds(true);
|
||||||
|
|
||||||
-- we don't want too many segments to be shown.
|
-- we don't want too many segments to be shown.
|
||||||
local sumSegments = #bpms + #stops + #delays + #warps + #fakes + #scrolls + #speeds
|
local sumSegments = #bpms + #stops + #delays + #warps + #fakes + #scrolls + #speeds
|
||||||
|
|||||||
Reference in New Issue
Block a user