mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 05:33:07 +08:00
Merge pull request #5775 from peppy/fix-skin-test-regression
Fix LegacySkin not checking for @2x hitcircle when deciding sizing
This commit is contained in:
commit
f9d35c7e1b
@ -59,7 +59,7 @@ namespace osu.Game.Skinning
|
|||||||
Samples = audioManager.GetSampleStore(storage);
|
Samples = audioManager.GetSampleStore(storage);
|
||||||
Textures = new TextureStore(new TextureLoaderStore(storage));
|
Textures = new TextureStore(new TextureLoaderStore(storage));
|
||||||
|
|
||||||
using (var testStream = storage.GetStream("hitcircle"))
|
using (var testStream = storage.GetStream("hitcircle@2x") ?? storage.GetStream("hitcircle"))
|
||||||
hasHitCircle |= testStream != null;
|
hasHitCircle |= testStream != null;
|
||||||
|
|
||||||
if (hasHitCircle)
|
if (hasHitCircle)
|
||||||
|
Loading…
Reference in New Issue
Block a user