mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Add IDeepCloneable
interface and update existing CreateCopy
methods to use it
This commit is contained in:
@ -128,7 +128,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
// clone these locally for now to avoid incurring overhead on GetPlayableBeatmap usages.
|
||||
// eventually we will want to improve how/where this is done as there are issues with *not* cloning it in all cases.
|
||||
playableBeatmap.ControlPointInfo = playableBeatmap.ControlPointInfo.CreateCopy();
|
||||
playableBeatmap.ControlPointInfo = playableBeatmap.ControlPointInfo.DeepClone();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user