mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 14:11:10 +00:00
Fix crash in mods_clear (#79)
This commit is contained in:
parent
37c62cabeb
commit
a7a439993f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue