mirror of
https://github.com/ppy/osu
synced 2025-01-31 18:32:14 +00:00
Fix infinite loop on default skin (it can't have a skin.ini
)
This commit is contained in:
parent
9e6e41d7c0
commit
68c01fc204
@ -186,7 +186,7 @@ namespace osu.Game.Skinning
|
||||
// By this point, the metadata in SkinInfo will be correct.
|
||||
// Regardless of whether this is an import or not, let's write the skin.ini if non-existing or non-matching.
|
||||
// This is (weirdly) done inside ComputeHash to avoid adding a new method to handle this case. After switching to realm it can be moved into another place.
|
||||
if (skinIniSourcedName != item.Name)
|
||||
if (instance is LegacySkin && skinIniSourcedName != item.Name)
|
||||
updateSkinIniMetadata(item);
|
||||
|
||||
return base.ComputeHash(item, reader);
|
||||
|
Loading…
Reference in New Issue
Block a user