aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devmenu/NotesEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devmenu/NotesEditor.java b/src/devmenu/NotesEditor.java
index 2ac0c88..0893446 100644
--- a/src/devmenu/NotesEditor.java
+++ b/src/devmenu/NotesEditor.java
@@ -88,7 +88,7 @@ public class NotesEditor
try
{
Driver.soundController.endSong();
- diff.numBeats = (int)timer.time();
+ diff.numBeats = (int)Double.parseDouble(timer.toString());
timer = null;
writer.close();
help.setText(t1);