1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Merge pull request #3280 from smoogipoo/invalid-sb-origins

Handle invalid storyboard origins as Anchor.TopLeft
This commit is contained in:
Dean Herbert 2018-08-22 16:20:04 +09:00 committed by GitHub
commit cfc64fb62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,9 +269,9 @@ namespace osu.Game.Beatmaps.Formats
return Anchor.BottomCentre;
case LegacyOrigins.BottomRight:
return Anchor.BottomRight;
default:
return Anchor.TopLeft;
}
throw new InvalidDataException($@"Unknown origin: {value}");
}
private void handleVariables(string line)