mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-04-26 00:28:31 -05:00
Fix index access exception
This commit is contained in:
parent
e6aa4df384
commit
e3e6268f90
|
|
@ -249,10 +249,9 @@ private void LB_Trade_SelectedIndexChanged(object sender, EventArgs e)
|
|||
|
||||
private void GetAllies()
|
||||
{
|
||||
var entry = Encounters[eEntry];
|
||||
|
||||
if (eEntry < 0)
|
||||
return;
|
||||
var entry = Encounters[eEntry];
|
||||
|
||||
// USUM has slots with SOS allies beyond slot 100, accommodate by trimming an extra character
|
||||
int endTrim = eEntry < 100 ? 5 : 6;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user