From 01297996a6afbbd92c10d4de32d372d46bb8a80c Mon Sep 17 00:00:00 2001 From: Zefram Date: Tue, 29 Apr 2014 19:36:52 +0100 Subject: Preserve player's search string Keep the current inventory search string when performing inventory form actions other than searching. This means the player's input is not lost if the player breaks off from entering it to switch pages, or if the player absent-mindedly ends text input with . --- init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index ec4105f..dcd8ecf 100644 --- a/init.lua +++ b/init.lua @@ -8,6 +8,7 @@ unified_inventory = {} unified_inventory.activefilter = {} unified_inventory.alternate = {} unified_inventory.current_page = {} +unified_inventory.current_searchbox = {} unified_inventory.current_index = {} unified_inventory.current_item = {} unified_inventory.crafts_table = {} -- cgit v1.2.3