Fix substring math for timer duration.
This commit is contained in:
parent
795bf48fde
commit
ff6cc099df
|
@ -859,7 +859,7 @@ public class Game {
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue