Prechádzať zdrojové kódy

Register moving as a change of location

hooperk 3 mesiacov pred
rodič
commit
894de416f1

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

@@ -1097,6 +1097,8 @@ public class CardObjectController : MonoBehaviour
 
 
                         if (!prevIsFrontLine)
                         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 Effect of "when moving from the training area"
 
 
                             #region Hashtable Setting
                             #region Hashtable Setting