1
0
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:
Dean Herbert 2021-10-22 14:08:12 +09:00
parent 9cdc1ba592
commit 82d0a6515f

View File

@ -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)
{