diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-06-28 05:17:43 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-06-28 05:17:43 -0400 |
commit | 8338b406d3e142d0163c95fa9b7dd6e14f5ccec9 (patch) | |
tree | 52702ce06088f07f7eddbd6e48867239bafd277a /internal.lua | |
parent | 16e40a2e2249bd3530710b34d25006da9e85c27d (diff) |
fix crash in waypoints?
Diffstat (limited to 'internal.lua')
-rw-r--r-- | internal.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.lua b/internal.lua index 01747cf..5dc3795 100644 --- a/internal.lua +++ b/internal.lua @@ -179,6 +179,7 @@ end --apply filter to the inventory list (create filtered copy of full one) function unified_inventory.apply_filter(player, filter, search_dir) + if not player then return false end local player_name = player:get_player_name() local lfilter = string.lower(filter) local ffilter |