lt 1 week ago
parent
commit
8919a65823

+ 2 - 5
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role_activity.go

@@ -854,11 +854,8 @@ func (this *RoleActivity) DailyReset(notify bool) {
 			this.role.ReplayGate(addActivityNtfMsg, true)
 		}
 	}
-	if !this.isDailyDiscount {
-		this.role.roleActivity.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
-		this.isDailyDiscount = true
-		this.SetDirty(true)
-	}
+
+	this.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
 }
 
 func (this *RoleActivity) StartupNtf() {