1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 03:59:55 +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:
Dan Balasescu
2019-08-21 12:55:56 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -59,7 +59,7 @@ namespace osu.Game.Skinning
Samples = audioManager.GetSampleStore(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;
if (hasHitCircle)