summaryrefslogtreecommitdiff
path: root/modules/openxr/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-06-03 01:33:42 +0200
committerkobewi <kobewi4e@gmail.com>2022-07-29 19:53:09 +0200
commitc3606cb5f3ab82248cac0d748bb291aa978b0b58 (patch)
tree8d5e0c810a7cb1732dcd4754515cf5325bcea10f /modules/openxr/editor
parentba3734e69a2f2a4f6c4f908958268762fd805cd2 (diff)
Swap arguments of ResourceSaver.save()
Diffstat (limited to 'modules/openxr/editor')
-rw-r--r--modules/openxr/editor/openxr_action_map_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/editor/openxr_action_map_editor.cpp b/modules/openxr/editor/openxr_action_map_editor.cpp
index 87b7f50224..0a2d0a3110 100644
--- a/modules/openxr/editor/openxr_action_map_editor.cpp
+++ b/modules/openxr/editor/openxr_action_map_editor.cpp
@@ -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;