Skip to content

Commit

Permalink
Fix bpm events not being converted
Browse files Browse the repository at this point in the history
  • Loading branch information
XAce1337manX committed Jul 23, 2024
1 parent 4729562 commit 6422ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Assets/__Scripts/Beatmap/Converters/V2ToV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ public static V3Difficulty Difficulty(V2Difficulty other)
DirectoryAndFile = other.DirectoryAndFile,
Obstacles = other.Obstacles.Select(Obstacle).Cast<BaseObstacle>().ToList(),
Arcs = other.Arcs.Select(Arc).Cast<BaseArc>().ToList(),
BpmEvents = other.BpmEvents.Select(BpmEvent).Cast<BaseBpmEvent>().ToList(),
Waypoints = other.Waypoints.Select(Waypoint).Cast<BaseWaypoint>().ToList(),
EventTypesWithKeywords = other.EventTypesWithKeywords != null
? new V3BasicEventTypesWithKeywords(other.EventTypesWithKeywords)
Expand Down
1 change: 1 addition & 0 deletions Assets/__Scripts/Beatmap/Converters/V3ToV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ public static V2Difficulty Difficulty(V3Difficulty other)
Obstacles = other.Obstacles,
Waypoints = other.Waypoints,
Arcs = other.Arcs,
BpmEvents = other.BpmEvents,
BpmChanges = other.BpmChanges,
Bookmarks = other.Bookmarks,
CustomEvents = other.CustomEvents,
Expand Down

0 comments on commit 6422ee0

Please sign in to comment.