Skip to content

Commit b562769

Browse files
Don't count disabled arrays when working out special block start/ends, Fixes #100
1 parent 9fed0bf commit b562769

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libEDSsharp/CanOpenNodeExporter.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ private void specialarraysearch(UInt16 start, UInt16 end)
7272
foreach (KeyValuePair<UInt16, ODentry> kvp in eds.ods)
7373
{
7474

75+
if (kvp.Value.Disabled == true)
76+
continue;
77+
7578
if (kvp.Key >= start && kvp.Key <= end)
7679
{
7780
if (kvp.Key > highest)

0 commit comments

Comments
 (0)