diff options
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 60c7243e..c973ab8e 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -373,7 +373,8 @@ function vm.getClassFields(suri, object, key, ref, pushResult) local fieldKey = guide.getKeyName(field) if fieldKey and not searchedFields[fieldKey] then if not searchedFields[fieldKey] - and guide.isSet(field) then + and guide.isSet(field) + and guide.isLiteral(field.value) then hasFounded[fieldKey] = true pushResult(field, true) end |