Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KalopsiaTwilight committed Aug 15, 2024
1 parent 6222201 commit 169d9ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DBCD/DBCDStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ public void Save(string filename)

public DBCDRow ConstructRow(int index) {
T raw = new();
var fieldNames = info.availableColumns;
var underlyingType = typeof(T);
var fields = underlyingType.GetFields();
var fields = typeof(T).GetFields();
// Array Fields need to be initialized to fill their length
var arrayFields = fields.Where(x => x.FieldType.IsArray);
foreach (var arrayField in arrayFields)
Expand Down

0 comments on commit 169d9ef

Please sign in to comment.