From 120b4e1c8698c99fdf1f045c8d0b4dc497ae2b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20=C4=8Cesal?= <51076458+mcesal@users.noreply.github.com> Date: Sat, 29 Mar 2025 22:33:18 +0100 Subject: [PATCH] Update BMSONDecoder.java fixes a rare release sound bug with lnlist being null --- src/bms/model/BMSONDecoder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bms/model/BMSONDecoder.java b/src/bms/model/BMSONDecoder.java index ffc193c..aeccc31 100644 --- a/src/bms/model/BMSONDecoder.java +++ b/src/bms/model/BMSONDecoder.java @@ -226,9 +226,9 @@ public BMSModel decode(Path f) { break; } } - if(!assigned) { - lnup.put(n, new LongNote(id, starttime, duration)); - } + } + if(!assigned) { + lnup.put(n, new LongNote(id, starttime, duration)); } } else { boolean insideln = false;