Browse Source

Register moving as a change of location

hooperk 3 months ago
parent
commit
894de416f1
1 changed files with 2 additions and 0 deletions
  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