mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Apply batch fixing of built-in types using var
This commit is contained in:
@ -160,12 +160,12 @@ namespace osu.Game.Configuration
|
||||
public void Migrate()
|
||||
{
|
||||
// arrives as 2020.123.0
|
||||
var rawVersion = Get<string>(OsuSetting.Version);
|
||||
string rawVersion = Get<string>(OsuSetting.Version);
|
||||
|
||||
if (rawVersion.Length < 6)
|
||||
return;
|
||||
|
||||
var pieces = rawVersion.Split('.');
|
||||
string[] 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.
|
||||
|
Reference in New Issue
Block a user