mirror of
https://github.com/kwsch/pkNX.git
synced 2026-08-27 12:54:17 -05:00
Handle area encounter case when none
This commit is contained in:
@@ -14,6 +14,13 @@ public partial class EncounterTableEditor8a : UserControl
|
||||
public void LoadTable(EncounterTable8a[] table, string path)
|
||||
{
|
||||
Tables = table;
|
||||
if (table.Length == 0)
|
||||
{
|
||||
Visible = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Visible = true;
|
||||
L_EncTableName.Text = path;
|
||||
|
||||
var items = table.Select(z => new ComboItem(z.TableName.Replace("\"", ""), z)).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user