From ed527bc872c52be2315c39d15672301182f98992 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 21 Jun 2020 14:06:59 -0700 Subject: [PATCH] Remove unnecessary music.init() from asset mounting code graphics.reloadresources() already does music.init(). --- desktop_version/src/editor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index 7af667a0..8140131e 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -1650,7 +1650,6 @@ bool editorclass::load(std::string& _path) printf("Custom asset directory exists at %s\n", zippath.c_str()); FILESYSTEM_mount(zippath.c_str()); graphics.reloadresources(); - music.init(); } else if (zip_path != "data.zip" && !endsWith(zip_path, "/data.zip") && endsWith(zip_path, ".zip")) { printf("Custom asset directory is .zip at %s\n", zip_path.c_str()); PHYSFS_File* zip = PHYSFS_openRead(zip_path.c_str());