mirror of
https://github.com/centau/vide.git
synced 2026-10-20 17:34:08 +00:00
Fix error message when setting an invalid member
This commit is contained in:
parent
86dee3c87c
commit
1634322e79
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ setmetatable(vide :: any, {
|
|||
|
||||
__newindex = function(_, index: unknown, value: unknown)
|
||||
if flags[index] == nil then
|
||||
error(`{tostring(index)} is not a valid member of vide, 0`)
|
||||
error(`{tostring(index)} is not a valid member of vide`, 0)
|
||||
else
|
||||
flags[index] = value
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue