|
@@ -126,9 +126,10 @@ namespace GFGGame
|
|
_valueBarController.OnShown();
|
|
_valueBarController.OnShown();
|
|
|
|
|
|
long lastTime = GameGlobal.lastLoginTime;// GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
long lastTime = GameGlobal.lastLoginTime;// GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
- if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()))
|
|
|
|
|
|
+ if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()) && ActivityDataManager.Instance.dailyLoginBonusStatus == ConstBonusStatus.CAN_GET)
|
|
{
|
|
{
|
|
ViewManager.Show<DailyLoginView>();
|
|
ViewManager.Show<DailyLoginView>();
|
|
|
|
+ GameGlobal.lastLoginTime = GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
}
|
|
}
|
|
Timers.inst.AddUpdate(Update);
|
|
Timers.inst.AddUpdate(Update);
|
|
}
|
|
}
|