summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 886e164..6048ab3 100644
--- a/init.lua
+++ b/init.lua
@@ -316,7 +316,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
list_index=list_index+1
end
- if fields.searchbox then
+ if fields.searchbutton then
local size=0
unified_inventory.filtered_items_list[player_name]={}
for name,def in pairs(minetest.registered_items) do