Skip to content

Commit

Permalink
fix writing incorrect file offsets when exporting pck
Browse files Browse the repository at this point in the history
  • Loading branch information
cgytrus authored and nikitalita committed Mar 9, 2024
1 parent 5b326e5 commit d180d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/gdre_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ uint64_t GodotREEditor::_pck_create_process_folder(EditorProgressGDDC *p_pr, con
finfo.instantiate();

String name = p_rel.path_join(f);
finfo->init(p_path, name, p_offset, file->get_length(), hash, nullptr, flags == (1 << 0));
finfo->init(p_path, name, offset, file->get_length(), hash, nullptr, flags == (1 << 0));

pck_save_files.push_back(finfo);

Expand Down

0 comments on commit d180d30

Please sign in to comment.