fix script error

This commit is contained in:
AJ Kelly
2011-05-10 09:11:44 -05:00
parent 6b61e8e0bb
commit 0f9a035c91
+5 -4
View File
@@ -8,10 +8,11 @@ local ZeroIfNotFound = { __index = function() return 0 end; };
-- Retrieve the amount of taps/holds/rolls involved. Used for some formulas.
function GetTotalItems(radars)
return radars:GetValue('RadarCategory_TapsAndHolds')
+ radars:GetValue('RadarCategory_Holds')
+ radars:GetValue('RadarCategory_Rolls');
+ radars:GetValue('RadarCategory_Lifts');
local total = radars:GetValue('RadarCategory_TapsAndHolds')
total = total + radars:GetValue('RadarCategory_Holds')
total = total + radars:GetValue('RadarCategory_Rolls')
total = total + radars:GetValue('RadarCategory_Lifts')
return total
end;
-- Determine whether marvelous timing is to be considered.