Commit ae0558c9 authored by mercury233's avatar mercury233 Committed by nanahira

fix GameMessage.SwapGraveDeck

parent da0034f1
Pipeline #16781 passed with stages
in 10 minutes and 47 seconds
......@@ -258,6 +258,11 @@ public class gameCard : OCGobject
FlashingController MouseFlash;
public bool IsExtraCard()
{
return data.IsExtraCard();
}
void RefreshFunction_decoration()
{
for (int i = 0; i < cardDecorations.Count; i++)
......
......@@ -2376,7 +2376,10 @@ public class Ocgcore : ServantWithCardDescription
{
if (cards[i].p.controller == player)
{
cards[i].p.location = (UInt32)CardLocation.Deck;
if(cards[i].IsExtraCard())
cards[i].p.location = (UInt32)CardLocation.Extra;
else
cards[i].p.location = (UInt32)CardLocation.Deck;
}
}
}
......
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