Fix syntax error in room.lua

This commit is contained in:
notify 2023-04-08 09:43:59 +08:00 committed by GitHub
parent c962f71c8f
commit ed70e54cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -997,7 +997,7 @@ function Room:askForChooseCardAndPlayers(player, targets, minNum, maxNum, patter
if maxNum < 1 then if maxNum < 1 then
return {} return {}
end end
pattern = pattern or ".", pattern = pattern or "."
local pcards = table.filter(player:getCardIds({ Player.Hand, Player.Equip }), function(id) local pcards = table.filter(player:getCardIds({ Player.Hand, Player.Equip }), function(id)
local c = Fk:getCardById(id) local c = Fk:getCardById(id)