mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Swap arguments of ResourceSaver.save()
This commit is contained in:
parent
ba3734e69a
commit
c3606cb5f3
57 changed files with 97 additions and 99 deletions
|
|
@ -258,7 +258,7 @@ void OpenXRActionMapEditor::_load_action_map(const String p_path, bool p_create_
|
|||
}
|
||||
|
||||
void OpenXRActionMapEditor::_on_save_action_map() {
|
||||
Error err = ResourceSaver::save(edited_path, action_map);
|
||||
Error err = ResourceSaver::save(action_map, edited_path);
|
||||
if (err != OK) {
|
||||
EditorNode::get_singleton()->show_warning(vformat(TTR("Error saving file: %s"), edited_path));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue