Fix substring math for timer duration.

This commit is contained in:
Sean McNamara 2016-01-02 22:49:47 -05:00
parent 795bf48fde
commit ff6cc099df
1 changed files with 1 additions and 1 deletions

View File

@ -859,7 +859,7 @@ public class Game {
if(FINITE_PLAYTIMES.contains(tm)) if(FINITE_PLAYTIMES.contains(tm))
{ {
factor = Double.valueOf(tm.substring(0, tm.length() - 2)); factor = Double.valueOf(tm.substring(0, tm.length() - 1));
} }
final long retval = Math.round(base * factor); final long retval = Math.round(base * factor);