Skip to content

Commit

Permalink
Also keep the modrinth data
Browse files Browse the repository at this point in the history
  • Loading branch information
4JX committed Feb 11, 2022
1 parent bdcf3eb commit c9009de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions back/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ impl Back {

if !filtered_old.is_empty() {
mod_entry.sourced_from = filtered_old[0].sourced_from;
mod_entry.modrinth_data = filtered_old[0].modrinth_data.clone();

// If the file has not changed, the state can also be kept
if mod_entry.hashes.sha1 == filtered_old[0].hashes.sha1 {
Expand Down

0 comments on commit c9009de

Please sign in to comment.