mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
Fix incorrect conditional for checking whether import (would fail for default skin)
This commit is contained in:
parent
9cdc1ba592
commit
82d0a6515f
@ -166,7 +166,7 @@ namespace osu.Game.Skinning
|
||||
string skinIniSourcedCreator = instance.Configuration.SkinInfo.Creator;
|
||||
string archiveName = item.Name.Replace(".osk", "", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
bool isImport = reader != null;
|
||||
bool isImport = item.ID == 0;
|
||||
|
||||
if (isImport)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user