mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix a few regressions.
This commit is contained in:
@ -68,7 +68,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
|
||||
public override bool Equals(BackgroundScreen other)
|
||||
{
|
||||
var otherBeatmapBackground = (BackgroundScreenBeatmap)other;
|
||||
var otherBeatmapBackground = other as BackgroundScreenBeatmap;
|
||||
if (otherBeatmapBackground == null) return false;
|
||||
|
||||
return base.Equals(other) && beatmap == otherBeatmapBackground.Beatmap;
|
||||
|
@ -17,7 +17,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
|
||||
public override bool Equals(BackgroundScreen other)
|
||||
{
|
||||
var backgroundScreenCustom = (BackgroundScreenCustom)other;
|
||||
var backgroundScreenCustom = other as BackgroundScreenCustom;
|
||||
if (backgroundScreenCustom == null) return false;
|
||||
|
||||
return base.Equals(other) && textureName == backgroundScreenCustom.textureName;
|
||||
|
Reference in New Issue
Block a user