Commit ebd3534b authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Do not search for the partner when the call is not known yet

parent 13e9904c
Pipeline #175240 failed with stages
in 153 minutes and 1 second
......@@ -2651,7 +2651,8 @@ game_assign_missing_card (TarotGame * game, TarotCard card, TarotPlayer owner)
{
return 1;
}
if (h.opt.with_call && !call_partner_known (h.call))
if (h.opt.with_call && call_card_known (h.call)
&& !call_partner_known (h.call))
{
if (call_trick_card (h.call, owner, card) != 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment