mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Make Parse use the Dat as a ref
All cases where this was being used, it was being assigned back to the original datdata object. This is not necessary.
This commit is contained in:
@@ -358,7 +358,7 @@ namespace SabreTools
|
||||
{
|
||||
// Parse the Dat if possible
|
||||
Dat tempdat = new Dat();
|
||||
tempdat = DatTools.Parse(toscan[key], 0, 0, tempdat, _logger);
|
||||
DatTools.Parse(toscan[key], 0, 0, ref tempdat, _logger);
|
||||
|
||||
// If the Dat wasn't empty, add the information
|
||||
if (tempdat.Files.Count != 0)
|
||||
|
||||
Reference in New Issue
Block a user