summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-06-28 04:47:30 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-06-28 04:54:48 -0400
commit16e40a2e2249bd3530710b34d25006da9e85c27d (patch)
tree50ec6f141ff5f819b50b22552be909efb2668347 /internal.lua
parent0a70d8edefc23c2b692926982620ef8d827ab610 (diff)
re-arrange a few elements in the crafting guide to eliminate text overlap
Also make sure to chech if lite mode before assuming 4x2 "tab" button layout.
Diffstat (limited to 'internal.lua')
-rw-r--r--internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua
index 51370b4..01747cf 100644
--- a/internal.lua
+++ b/internal.lua
@@ -48,7 +48,7 @@ function unified_inventory.get_formspec(player, page)
-- Main buttons
for i, def in pairs(unified_inventory.buttons) do
- if i > 4 then
+ if unified_inventory.lite_mode and i > 4 then
button_row = 1
button_col = 1
end