1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 15:03:10 +08:00

Remove unnecessary equality check in skin editor construction path

This commit is contained in:
Dean Herbert 2022-03-22 14:35:13 +09:00
parent 9a2691c1bc
commit fb7f9a81db

View File

@ -68,9 +68,6 @@ namespace osu.Game.Skinning.Editor
skinEditor = editor; skinEditor = editor;
if (editor != skinEditor)
return;
LoadComponentAsync(editor, _ => LoadComponentAsync(editor, _ =>
{ {
if (editor != skinEditor) if (editor != skinEditor)