Skip to content

Commit 7c7df12

Browse files
committed
no need to use copyTable
1 parent 019e91b commit 7c7df12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Classes/TreeTab.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ function TreeTabClass:BuildPowerReportList(currentStat)
11181118
x = node.x,
11191119
y = node.y,
11201120
type = node.type,
1121-
sd = copyTable(node.sd, true),
1121+
sd = node.sd,
11221122
pathDist = pathDist
11231123
})
11241124
end
@@ -1147,7 +1147,7 @@ function TreeTabClass:BuildPowerReportList(currentStat)
11471147
pathPowerStr = "--",
11481148
id = node.id,
11491149
type = node.type,
1150-
sd = copyTable(node.sd, true),
1150+
sd = node.sd,
11511151
pathDist = "Cluster"
11521152
})
11531153
end

0 commit comments

Comments
 (0)