1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 14:34:54 +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
Unverified
parent 9cdc1ba592
commit 82d0a6515f
+1 -1
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)
{