fix filterskill

This commit is contained in:
notify 2023-04-10 15:58:41 +08:00
parent 533cc1a464
commit 90ad7fee5f
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ function Engine:filterCard(id, player, data)
return
end
local skills = player:getAllSkills()
local filters = self:currentRoom().status_skills[FilterSkill]
local filters = self:currentRoom().status_skills[FilterSkill] or {}
if #filters == 0 then
filtered_cards[id] = nil