summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2012-12-02 21:14:19 +0100
committerRealBadAngel <mk@realbadangel.pl>2012-12-02 21:14:19 +0100
commit35e91348ddf46ba2c7522bc9a2b3e18ad408a9bf (patch)
tree6bfd9df3256a9b3057c7f0b91de72b4f6e3f1c55
parent216078a0f8de60870c29ab9c8e6dde9262e65401 (diff)
quick fix
-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