Skip to content
Snippets Groups Projects
Commit e0222dca authored by DarkGod's avatar DarkGod
Browse files

safety check

parent b7236e2a
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ function _M:generateList()
local list = {}
for i, act in ipairs(game.party.m_list) do
if not act.no_inventory_access and act ~= game.player then
if not act.no_inventory_access and act ~= game.player and act:getInven(act.INVEN_INVEN) then
list[#list+1] = {name=act.name..(act:canAddToInven(act.INVEN_INVEN) and "" or " #YELLOW#[NO ROOM]#LAST#"), actor=act}
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment