Merge pull request #24884 from Xrayez/fix-#24881
Fix broken encrypted scripts during export
This commit is contained in:
commit
5bf8bdc971
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public:
|
|||
|
||||
if (script_mode == EditorExportPreset::MODE_SCRIPT_ENCRYPTED) {
|
||||
|
||||
String tmp_path = EditorSettings::get_singleton()->get_settings_dir().plus_file("tmp/script.gde");
|
||||
String tmp_path = EditorSettings::get_singleton()->get_cache_dir().plus_file("script.gde");
|
||||
FileAccess *fa = FileAccess::open(tmp_path, FileAccess::WRITE);
|
||||
|
||||
Vector<uint8_t> key;
|
||||
|
|
Loading…
Reference in a new issue