1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-20 19:47:38 +00:00

Merge pull request #277 from FunkinCrew/offsets-null-fix

null fixy
This commit is contained in:
Cameron Taylor 2024-01-12 08:08:01 -05:00 committed by GitHub
commit a419cd2331
2 changed files with 2 additions and 2 deletions

2
assets

@ -1 +1 @@
Subproject commit e56184c0851e822136e3d254a51c89d54022938d
Subproject commit f1e42601b6ea2026c6e2f4627c5738bfb8b7b524

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();