# HG changeset patch # User James D. Callahan III # Date 1360266810 21600 # Node ID 85f113524b193b75efd8521fe9de53c43f4eb6d4 # Parent 25bfbe8b4826711132a875910975af033841d305 Remove check for ITEM_OPENABLE string if not running on 5.1 client. diff -r 25bfbe8b4826 -r 85f113524b19 Main.lua --- a/Main.lua Wed Feb 06 10:27:38 2013 -0600 +++ b/Main.lua Thu Feb 07 13:53:30 2013 -0600 @@ -515,8 +515,9 @@ if not current_line then break end + local is_ptr = select(4, _G.GetBuildInfo()) ~= 50100 - if current_line:GetText() == _G.ITEM_OPENABLE then + if is_ptr or current_line:GetText() == _G.ITEM_OPENABLE then table.wipe(current_action) current_action.target_type = AF.ITEM current_action.identifier = item_id