1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

add simple bound check

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-28 00:55:14 +07:00
parent ead0e92d7d
commit 854ef0abfd
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -95,7 +95,7 @@ namespace osu.Game.Overlays.Wiki
yield return new Drawable[]
{
new WikiPanelContainer(panelsNode[i++].InnerText),
new WikiPanelContainer(panelsNode[i++].InnerText),
i < panelsNode.Length ? new WikiPanelContainer(panelsNode[i++].InnerText) : null,
};
}
}