fix crash in script editor

This commit is contained in:
haven1433
2023-02-02 07:44:56 -06:00
parent 820173f3f1
commit 800aee0361

View File

@@ -95,6 +95,7 @@ namespace HavenSoft.HexManiac.Core.Models.Code {
if (scripts[j] <= address || scripts[j] >= address + length) continue;
lengths.RemoveAt(j);
scripts.RemoveAt(j);
i--;
}
// look for other scripts from destinations that we should care about but don't yet