diff options
author | Aidan Ross <aross02@fairport.org> | 2023-06-03 01:58:06 -0400 |
---|---|---|
committer | Aidan Ross <aross02@fairport.org> | 2023-06-03 01:58:06 -0400 |
commit | f3bc2ec111c4c74063261c324f39304c291b9f4c (patch) | |
tree | 38d83d74656bc64daca901b333d9a00b02f0577c /src/gameplay | |
parent | 5675911ad9f0e250c9851ef12c5b01ee37394ce0 (diff) | |
download | NPEhero-f3bc2ec111c4c74063261c324f39304c291b9f4c.tar.gz NPEhero-f3bc2ec111c4c74063261c324f39304c291b9f4c.tar.bz2 NPEhero-f3bc2ec111c4c74063261c324f39304c291b9f4c.zip |
I just realized my syncing fix broke the editor so that's fixed now
ft. Ed Sheeran
Diffstat (limited to 'src/gameplay')
-rw-r--r-- | src/gameplay/Timer.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |