diff options
author | Aidan Ross <aross02@fairport.org> | 2023-06-02 13:12:38 -0400 |
---|---|---|
committer | Aidan Ross <aross02@fairport.org> | 2023-06-02 13:12:38 -0400 |
commit | 9567c39c55d8c5889126d03fccbbfed077b19d1b (patch) | |
tree | 1dbbed9a2d36f12f4b6f21ca1686fd3f11b841d3 /src/gameplay/Timer.java | |
parent | 408c42dc788a7d9c218071dea34843b4196fa7c8 (diff) | |
download | NPEhero-9567c39c55d8c5889126d03fccbbfed077b19d1b.tar.gz NPEhero-9567c39c55d8c5889126d03fccbbfed077b19d1b.tar.bz2 NPEhero-9567c39c55d8c5889126d03fccbbfed077b19d1b.zip |
SYNCING IS FIXED!!!!
Diffstat (limited to 'src/gameplay/Timer.java')
-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 5ff3b16..e43ad19 100644 --- a/src/gameplay/Timer.java +++ b/src/gameplay/Timer.java @@ -19,10 +19,10 @@ public class Timer } public double time() { - return ((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0); + return ((double)(System.currentTimeMillis()-timeStart)-1000)*(bpm/60000.0); } public String toString() { - return ""+((double)(System.currentTimeMillis()-timeStart))*(bpm/60000.0); + return ""+((double)(System.currentTimeMillis()-timeStart)-1000)*(bpm/60000.0); } } |