Parcourir la source

Register moving as a change of location

hooperk il y a 3 mois
Parent
commit
894de416f1
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Assets/Scripts/Script/CardObjectController.cs

+ 2 - 0
Assets/Scripts/Script/CardObjectController.cs

@@ -1097,6 +1097,8 @@ public class CardObjectController : MonoBehaviour
 
                         if (!prevIsFrontLine)
                         {
+                            movingPermanent.TopCard.SetChangedLocationTime();//register that the card moved for the purpose of the start of timestamped continuous effects
+
                             #region Effect of "when moving from the training area"
 
                             #region Hashtable Setting