diff options
author | kobewi <kobewi4e@gmail.com> | 2022-06-03 01:33:42 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-07-29 19:53:09 +0200 |
commit | c3606cb5f3ab82248cac0d748bb291aa978b0b58 (patch) | |
tree | 8d5e0c810a7cb1732dcd4754515cf5325bcea10f /scene/debugger | |
parent | ba3734e69a2f2a4f6c4f908958268762fd805cd2 (diff) |
Swap arguments of ResourceSaver.save()
Diffstat (limited to 'scene/debugger')
-rw-r--r-- | scene/debugger/scene_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index e9c33b1839..4c5a63e52c 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -299,7 +299,7 @@ void SceneDebugger::_save_node(ObjectID id, const String &p_path) { Ref<PackedScene> ps = memnew(PackedScene); ps->pack(node); - ResourceSaver::save(p_path, ps); + ResourceSaver::save(ps, p_path); } void SceneDebugger::_send_object_id(ObjectID p_id, int p_max_size) { |