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:
parent
ead0e92d7d
commit
854ef0abfd
@ -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,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user