fix script error
This commit is contained in:
@@ -8,10 +8,11 @@ local ZeroIfNotFound = { __index = function() return 0 end; };
|
|||||||
|
|
||||||
-- Retrieve the amount of taps/holds/rolls involved. Used for some formulas.
|
-- Retrieve the amount of taps/holds/rolls involved. Used for some formulas.
|
||||||
function GetTotalItems(radars)
|
function GetTotalItems(radars)
|
||||||
return radars:GetValue('RadarCategory_TapsAndHolds')
|
local total = radars:GetValue('RadarCategory_TapsAndHolds')
|
||||||
+ radars:GetValue('RadarCategory_Holds')
|
total = total + radars:GetValue('RadarCategory_Holds')
|
||||||
+ radars:GetValue('RadarCategory_Rolls');
|
total = total + radars:GetValue('RadarCategory_Rolls')
|
||||||
+ radars:GetValue('RadarCategory_Lifts');
|
total = total + radars:GetValue('RadarCategory_Lifts')
|
||||||
|
return total
|
||||||
end;
|
end;
|
||||||
|
|
||||||
-- Determine whether marvelous timing is to be considered.
|
-- Determine whether marvelous timing is to be considered.
|
||||||
|
|||||||
Reference in New Issue
Block a user