Просмотр исходного кода

Merge pull request #1426 from DCGO2/hooperk-timestamps

Register moving as a change of location
x89rt2 3 месяцев назад
Родитель
Сommit
ff924ad6fa
1 измененных файлов с 2 добавлено и 0 удалено
  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