Fix bug where music data file was closed on flush

Signed-off-by: Graham <gpe@openrs2.org>
master
Graham 3 years ago
parent bcc2fdf48e
commit b320348ec7
  1. 2
      cache/src/main/kotlin/org/openrs2/cache/DiskStore.kt

@ -450,7 +450,7 @@ public class DiskStore private constructor(
override fun flush() { override fun flush() {
data.flush() data.flush()
musicData?.close() musicData?.flush()
for (index in indexes) { for (index in indexes) {
index?.flush() index?.flush()

Loading…
Cancel
Save