aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-06-09 09:13:47 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-06-09 09:13:47 -0400
commit9e1371424bdf4c31d756d686313730d4c61f7ac5 (patch)
treedd185f782eb695d6fdd24d746b160f516feedb47
parent7a7afb82b1ca8878ae066f9b811ad4d8910d654a (diff)
downloadNPEhero-9e1371424bdf4c31d756d686313730d4c61f7ac5.tar.gz
NPEhero-9e1371424bdf4c31d756d686313730d4c61f7ac5.tar.bz2
NPEhero-9e1371424bdf4c31d756d686313730d4c61f7ac5.zip
fix setting of numBeats by notesEditorHEADmain
-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);