summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
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