1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Remove unnecessary music.init() from asset mounting code

graphics.reloadresources() already does music.init().
This commit is contained in:
Misa 2020-06-21 14:06:59 -07:00 committed by Ethan Lee
parent c6e800db6f
commit ed527bc872

View File

@ -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());