-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor does not read properties ignored on BeatmapInfo
correctly
#20883
Comments
It seems like these values are correctly decoded; osu/osu.Game/Beatmaps/Formats/LegacyBeatmapDecoder.cs Lines 220 to 226 in bff82a7
I also found a commit stating that |
Renamed issue to describe the actual problem better. The actual problem here - as outlined above - is that the beatmap decoder is supposed to fill the ignored countdown fields, but given the current structure of things this does not always happen. In particular the Obvious fixes such as the following do not work: diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs
index ece94b5365..cd631a4b44 100644
--- a/osu.Game/Screens/Select/SongSelect.cs
+++ b/osu.Game/Screens/Select/SongSelect.cs
@@ -346,7 +346,7 @@ public void Edit(BeatmapInfo beatmapInfo = null)
if (!AllowEditing)
throw new InvalidOperationException($"Attempted to edit when {nameof(AllowEditing)} is disabled");
- Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo ?? beatmapInfoNoDebounce);
+ Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo ?? beatmapInfoNoDebounce, true);
this.Push(new EditorLoader());
} because |
Likely also affects bookmarks as per https://discord.com/channels/188630481301012481/188630652340404224/1103223246020685834 |
BeatmapInfo
correctly
In my view this is a nice change, but do note that on its own it does nothing to fix ppy#29492, because of `BeatmapInfo` reference management foibles when opening the editor. See also: ppy#20883 (comment), ppy#28473.
Please fix bookmarks. Quite important for mappers. |
We're aware and ongoing work is happening. You can follow progress on this at 46d1f00. |
Type
Game behaviour
Bug description
When importing a beatmap, lazer will always default to using
CountdownType.Normal
with 0 offset, ignoring any values that the imported beatmap is using. This both applies to beatmaps imported from stable using the in-game wizard, .osz files and the in-game beatmap browser.It seems like changing the offset in the editor actually gets saved, but turning off or changing the countdown speed is not.
I'll see if I can fix this myself as I need it for #20584.see commentScreenshots or videos
Stable:
![image](https://user-images.githubusercontent.com/47401343/197382235-327db6d7-7586-4aad-ba8c-b58c84b11b4d.png)
Lazer:
![image](https://user-images.githubusercontent.com/47401343/197382244-6b24dbde-e950-4d22-a68d-f6d71f02ebb1.png)
Version
master
Logs
The text was updated successfully, but these errors were encountered: