From 55850aa82888ef22d69078991dc2541db013663e Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 16 Apr 2022 00:36:30 -0700 Subject: [PATCH] Force loading order on hash/normalize path --- src/pc/mods/mod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pc/mods/mod.c b/src/pc/mods/mod.c index df50f261..cc04f2e5 100644 --- a/src/pc/mods/mod.c +++ b/src/pc/mods/mod.c @@ -538,6 +538,7 @@ void mod_md5_hash(struct Mod* mod) { u8 buffer[MD5_BUFFER_SIZE] = { 0 }; mod->hashProcessed = false; + mod_set_loading_order(mod); MD5_CTX ctx = { 0 }; MD5_Init(&ctx); @@ -548,6 +549,7 @@ void mod_md5_hash(struct Mod* mod) { LOG_ERROR("Failed to combine path for mod hashing."); return; } + normalize_path(path); // open file pointer FILE* fp = fopen(path, "rb");