Skip to content

Commit

Permalink
fix: 🐛 fixed export zip name after mod switch (#92)
Browse files Browse the repository at this point in the history
After switching mods via "Connect existing Mod," the path `path_global_final_zip` was not updated, resulting in the wrong zip name on export.

closes #90
  • Loading branch information
KANAjetzt authored Jul 17, 2023
1 parent 94d3fcb commit 40184c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/mod_tool/global/store.gd
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func update_paths(new_name_mod_dir: String) -> void:
path_temp_dir = "user://temp/" + new_name_mod_dir
path_global_temp_dir = ProjectSettings.globalize_path(path_temp_dir)
path_manifest = path_mod_dir + "/manifest.json"
path_global_final_zip = "%s/%s.zip" % [path_global_export_dir, name_mod_dir]


func save_store() -> void:
Expand Down

0 comments on commit 40184c4

Please sign in to comment.