mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix PatchTree incorrect changeList entries on decode failure (#804)
This commit is contained in:
parent
834c8cdbca
commit
feac29ea40
1 changed files with 2 additions and 2 deletions
|
|
@ -233,7 +233,7 @@ function PatchTree.build(patch, instanceMap, changeListHeaders)
|
|||
addProp(
|
||||
prop,
|
||||
if currentSuccess then currentValue else "[Error]",
|
||||
if incomingSuccess then incomingValue else next(incoming)
|
||||
if incomingSuccess then incomingValue else select(2, next(incoming))
|
||||
)
|
||||
end
|
||||
|
||||
|
|
@ -359,7 +359,7 @@ function PatchTree.build(patch, instanceMap, changeListHeaders)
|
|||
if success then
|
||||
table.insert(changeList, { prop, "N/A", incomingValue })
|
||||
else
|
||||
table.insert(changeList, { prop, "N/A", next(incoming) })
|
||||
table.insert(changeList, { prop, "N/A", select(2, next(incoming)) })
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue