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:
parent
d3786a9382
commit
5b8037ea7d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user