1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 00:52:59 +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
commit f9d35c7e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)