Skip to content

Commit

Permalink
Rename array -> tablearray and move it out of table field.
Browse files Browse the repository at this point in the history
On 2nd thought, array key in table won't work well with JSON exporter. So don't do it.
  • Loading branch information
MikuAuahDark committed May 19, 2024
1 parent 4bb1ee7 commit 6835d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/graphics/Graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2428,7 +2428,6 @@ return {
name = 'vertices',
description = 'The table filled with vertex information tables for each vertex as follows:',
table = {
array = true,
{
type = 'number',
name = '1',
Expand Down Expand Up @@ -2476,6 +2475,7 @@ return {
default = '1',
},
},
tablearray = '',
},
{
type = 'MeshDrawMode',
Expand Down
4 changes: 2 additions & 2 deletions modules/window/Window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ return {
name = 'modes',
description = 'A table of width/height pairs. (Note that this may not be in order.)',
table = {
array = true,
{
type = 'number',
name = 'width',
Expand All @@ -218,7 +217,8 @@ return {
name = 'height',
description = 'Window fullscreen height.',
},
}
},
tablearray = '',
},
},
},
Expand Down

0 comments on commit 6835d66

Please sign in to comment.