summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md3
-rw-r--r--script/parser/guide.lua2
2 files changed, 4 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 4407f792..10e8a42d 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,8 @@
# changelog
+## 1.12.2
+* `FIX` performance issue
+
## 1.12.1
`2021-1-27`
* `FIX` endless loop
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index c580aeec..181095c8 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -2141,7 +2141,7 @@ function m.searchSameFieldsInValue(status, ref, start, pushQueue, mode)
if not value then
return
end
- if mode == 'ref' then
+ if mode == 'ref' or mode == 'def' or mode == 'field' then
if m.checkValueMark(status, ref, value) then
return
end