mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 15:17:44 +08:00
Fix DetachedBeatmapStore
special condition for detecting resets from blocking all operations failing on empty databases
See https://discord.com/channels/188630481301012481/188630652340404224/1293309912591368244.
This commit is contained in:
parent
1633cbdb66
commit
b811b9baf6
@ -44,7 +44,7 @@ namespace osu.Game.Database
|
|||||||
{
|
{
|
||||||
if (changes == null)
|
if (changes == null)
|
||||||
{
|
{
|
||||||
if (detachedBeatmapSets.Count > 0 && sender.Count == 0)
|
if (sender is EmptyRealmSet<BeatmapSetInfo>)
|
||||||
{
|
{
|
||||||
// Usually we'd reset stuff here, but doing so triggers a silly flow which ends up deadlocking realm.
|
// Usually we'd reset stuff here, but doing so triggers a silly flow which ends up deadlocking realm.
|
||||||
// Additionally, user should not be at song select when realm is blocking all operations in the first place.
|
// Additionally, user should not be at song select when realm is blocking all operations in the first place.
|
||||||
|
Loading…
Reference in New Issue
Block a user