diff options
author | Rui914 <rui914t@gmail.com> | 2016-03-07 00:53:45 +0900 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-03-06 23:42:04 +0000 |
commit | 24e8b0ac1ea45719937948607259f13866c8bc64 (patch) | |
tree | f8bb110a59ca436d2a7a15686da8feab160a1c93 /builtin/mainmenu/tab_mods.lua | |
parent | 75db0543f3df4b30ce23731f5008d0c9afa277ff (diff) | |
download | minetest-24e8b0ac1ea45719937948607259f13866c8bc64.tar.gz minetest-24e8b0ac1ea45719937948607259f13866c8bc64.tar.bz2 minetest-24e8b0ac1ea45719937948607259f13866c8bc64.zip |
Faster insertion into table
Diffstat (limited to 'builtin/mainmenu/tab_mods.lua')
-rw-r--r-- | builtin/mainmenu/tab_mods.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_mods.lua b/builtin/mainmenu/tab_mods.lua index 2ddc9b07c..af758f8df 100644 --- a/builtin/mainmenu/tab_mods.lua +++ b/builtin/mainmenu/tab_mods.lua @@ -78,7 +78,7 @@ local function get_formspec(tabview, name, tabdata) descriptionfile:close() else descriptionlines = {} - table.insert(descriptionlines,fgettext("No mod description available")) + descriptionlines[#descriptionlines + 1] = fgettext("No mod description available") end retval = retval .. |