mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix beatmap skin properties not copying
This commit is contained in:
@ -9,6 +9,7 @@ using JetBrains.Annotations;
|
||||
using osu.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Extensions.ObjectExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
@ -853,13 +854,14 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
private void switchToNewDifficulty(RulesetInfo rulesetInfo, bool clearAllObjects)
|
||||
=> loader?.ScheduleSwitchToNewDifficulty(new NewDifficultyCreationParameters
|
||||
{
|
||||
BeatmapSet = editorBeatmap.BeatmapInfo.BeatmapSet,
|
||||
Ruleset = rulesetInfo,
|
||||
ReferenceBeatmap = playableBeatmap,
|
||||
ClearAllObjects = clearAllObjects,
|
||||
EditorState = GetState()
|
||||
});
|
||||
(
|
||||
editorBeatmap.BeatmapInfo.BeatmapSet.AsNonNull(),
|
||||
rulesetInfo,
|
||||
playableBeatmap,
|
||||
editorBeatmap.BeatmapSkin,
|
||||
clearAllObjects,
|
||||
GetState()
|
||||
));
|
||||
|
||||
private EditorMenuItem createDifficultySwitchMenu()
|
||||
{
|
||||
|
Reference in New Issue
Block a user