1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Removed unused variables, add some constants numbers

This commit is contained in:
Rafał Mikrut
2019-12-10 05:13:02 +01:00
parent 6f38aeef52
commit ed1c4bc77d
41 changed files with 112 additions and 91 deletions

View File

@@ -172,7 +172,7 @@ void ExportTemplateManager::_uninstall_template_confirm() {
ERR_FAIL_COND_MSG(err != OK, "Could not remove all templates in '" + templates_dir.plus_file(to_remove) + "'.");
da->change_dir("..");
da->remove(to_remove);
err = da->remove(to_remove);
ERR_FAIL_COND_MSG(err != OK, "Could not remove templates directory at '" + templates_dir.plus_file(to_remove) + "'.");
_update_template_list();