fixed estimated score

René Welbers [01-24-16 - 21:33]
fixed estimated score
Filename
RaidTimer.lua
RaidTimer.txt
diff --git a/RaidTimer.lua b/RaidTimer.lua
index 66786e8..764a824 100644
--- a/RaidTimer.lua
+++ b/RaidTimer.lua
@@ -5,7 +5,7 @@ RaidTimer = {}

 RaidTimer.name		= 'RaidTimer'
 RaidTimer.slash		= '/rt'
-RaidTimer.version	= '1.3.3'
+RaidTimer.version	= '1.3.4'
 RaidTimer.versionDB	= 1
 RaidTimer.loaded	= false
 RaidTimer.author    = 'Noshiz, Garkin & silentgecko'
@@ -451,7 +451,7 @@ function RaidTimer.EstimatedScore(currentPoints, maxPoints, timeLimit, raidDurat
     if currentPoints < halfPoints then
         calcPoints = maxPoints - currentPoints
     end
-    return (calcPoints+((maxPoints)*((timeLimit-raidDuration)/10000)))
+    return (maxPoints+((maxPoints)*((timeLimit-raidDuration)/10000)))
 end

 -------Saving the location of the labels when /rt show-------
diff --git a/RaidTimer.txt b/RaidTimer.txt
index 8893cda..f497992 100644
--- a/RaidTimer.txt
+++ b/RaidTimer.txt
@@ -1,6 +1,6 @@
 ## Title: |cEFEBBERaid Timer|r
 ## Author: Noshiz, |cEFEBBEGarkin|r, |c4779cesilentgecko|r
-## Version: 1.3.3
+## Version: 1.3.4
 ## APIVersion: 100013
 ## SavedVariables: RTVars
 ## OptionalDependsOn: LibAddonMenu-2.0