Commit 0db689f2 authored by mercury233's avatar mercury233

fix GameMessage.SwapGraveDeck

parent ed73e672
......@@ -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++)
......
......@@ -2352,6 +2352,9 @@ public class Ocgcore : ServantWithCardDescription
{
if (cards[i].p.controller == player)
{
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