null fixy

This commit is contained in:
Cameron Taylor
2024-01-12 08:04:28 -05:00
parent 304cee188a
commit 7f83daf23b
2 changed files with 2 additions and 2 deletions
+1 -1
Submodule assets updated: e56184c085...f1e42601b6
+1 -1
View File
@@ -93,7 +93,7 @@ class SongMetadata implements ICloneable<SongMetadata>
result.version = this.version;
result.timeFormat = this.timeFormat;
result.divisions = this.divisions;
result.offsets = this.offsets.clone();
result.offsets = this.offsets != null ? this.offsets.clone() : new SongOffsets(); // if no song offsets found (aka null), so just create new ones
result.timeChanges = this.timeChanges.deepClone();
result.looped = this.looped;
result.playData = this.playData.clone();