diff --git a/src/pc/mods/mods.c b/src/pc/mods/mods.c index 0953ebc4..0376b1ac 100644 --- a/src/pc/mods/mods.c +++ b/src/pc/mods/mods.c @@ -350,7 +350,7 @@ void mods_clear(struct Mods* mods) { void mods_shutdown(void) { mod_cache_save(); mod_cache_shutdown(); - mods_clear(&gRemoteMods); mods_clear(&gActiveMods); + mods_clear(&gRemoteMods); mods_clear(&gLocalMods); } diff --git a/src/pc/network/packets/packet_mod_list.c b/src/pc/network/packets/packet_mod_list.c index 188a7182..2a4a7baf 100644 --- a/src/pc/network/packets/packet_mod_list.c +++ b/src/pc/network/packets/packet_mod_list.c @@ -9,8 +9,8 @@ void network_send_mod_list_request(void) { SOFT_ASSERT(gNetworkType == NT_CLIENT); - mods_clear(&gRemoteMods); mods_clear(&gActiveMods); + mods_clear(&gRemoteMods); if (!mods_generate_remote_base_path()) { LOG_ERROR("Failed to generate remote base path!");