1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 10:22:56 +08:00

Add note about early migration return on non-release transitions

This commit is contained in:
Dean Herbert 2020-03-05 15:36:36 +09:00
parent d3786a9382
commit 5b8037ea7d

View File

@ -140,6 +140,8 @@ namespace osu.Game.Configuration
var pieces = rawVersion.Split('.');
// on a fresh install or when coming from a non-release build, execution will end here.
// we don't want to run migrations in such cases.
if (!int.TryParse(pieces[0], out int year)) return;
if (!int.TryParse(pieces[1], out int monthDay)) return;