From 50a1df60f0916ff2a1cd68a37d501851b10d1da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 4 Jan 2021 09:57:21 +0800 Subject: fix #339 --- script/core/rename.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/core/rename.lua') diff --git a/script/core/rename.lua b/script/core/rename.lua index b823cb86..3f73c338 100644 --- a/script/core/rename.lua +++ b/script/core/rename.lua @@ -292,7 +292,7 @@ local function ofField(source, newname, callback) else node = source.node end - for _, src in ipairs(vm.getFields(node, 0)) do + for _, src in ipairs(vm.getFields(node, 5)) do ofFieldThen(key, src, newname, callback) end end -- cgit v1.2.3