From f3bc2ec111c4c74063261c324f39304c291b9f4c Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Sat, 3 Jun 2023 01:58:06 -0400 Subject: I just realized my syncing fix broke the editor so that's fixed now ft. Ed Sheeran --- src/gameplay/Timer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gameplay/Timer.java') diff --git a/src/gameplay/Timer.java b/src/gameplay/Timer.java index bf07683..96a6c30 100644 --- a/src/gameplay/Timer.java +++ b/src/gameplay/Timer.java @@ -22,7 +22,7 @@ public class Timer return ((double)(System.currentTimeMillis()-timeStart)-2000)*(bpm/60000.0); } - public String toString() { - return ""+((double)(System.currentTimeMillis()-timeStart)-2000)*(bpm/60000.0); + public String toString() { + return ""+((Math.round(10*(((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0))))/10.0); } } -- cgit v1.2.3