mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Prevent trying to access an entry when none exist. (#1898)
This commit is contained in:
parent
4df929ec9f
commit
6992336c63
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ internal class TitleScreenMenuWindow : Window, IDisposable
|
|||
|
||||
case State.Hide:
|
||||
{
|
||||
if (this.DrawEntry(entries[0], true, false, true, true, false))
|
||||
if (entries.Count > 0 && this.DrawEntry(entries[0], true, false, true, true, false))
|
||||
{
|
||||
this.state = State.Show;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue