diff --git a/src/tools/paktest.cpp b/src/tools/paktest.cpp index 7944ee1..9809972 100644 --- a/src/tools/paktest.cpp +++ b/src/tools/paktest.cpp @@ -31,7 +31,7 @@ int main(int argc, char** argv) { reader.ReadData(); for(auto& [filename, file] : reader.GetFiles()) { - writer.AddFile(filename, file); + writer.GetFiles()[filename] = file; } }