mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 21:47:31 +09:00
Merge pull request #3280 from smoogipoo/invalid-sb-origins
Handle invalid storyboard origins as Anchor.TopLeft
This commit is contained in:
commit
cfc64fb62a
@ -269,9 +269,9 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
return Anchor.BottomCentre;
|
return Anchor.BottomCentre;
|
||||||
case LegacyOrigins.BottomRight:
|
case LegacyOrigins.BottomRight:
|
||||||
return Anchor.BottomRight;
|
return Anchor.BottomRight;
|
||||||
|
default:
|
||||||
|
return Anchor.TopLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new InvalidDataException($@"Unknown origin: {value}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleVariables(string line)
|
private void handleVariables(string line)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user