Przeglądaj źródła

Fixed Trash Main Effects Throwing Exception

BennAbbot 3 miesięcy temu
rodzic
commit
52ce241b8d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Assets/Scripts/Script/CheckCardPanel.cs

+ 1 - 1
Assets/Scripts/Script/CheckCardPanel.cs

@@ -364,7 +364,7 @@ public class CheckCardPanel : MonoBehaviour
 
                             handCard.GetComponent<Draggable_HandCard>().CanPointerEnterExitAction = true;
 
-                            GManager.instance.turnStateMachine.photonView.RPC("SetActCardSkill", RpcTarget.All, handCard.cardSource.CardIndex, cardEffects1.IndexOf(cardEffect));
+                            GManager.instance.turnStateMachine.QueueMainPhaseAction(handCard.cardSource.Owner, new ActivateCardAction(handCard.cardSource.CardIndex, cardEffects1.IndexOf(cardEffect)));
 
                             CloseSelectCardPanel();
                         }