From 082b45c43c35933fb83f350af23afb2066a7af74 Mon Sep 17 00:00:00 2001 From: lishuo Date: Fri, 7 Jan 2022 14:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E4=BF=9D=E5=AD=98=E5=BE=AE?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Scenes/Ride/Scripts/PlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Scenes/Ride/Scripts/PlayerController.cs b/Assets/Scripts/Scenes/Ride/Scripts/PlayerController.cs index 89d50346..1873998a 100644 --- a/Assets/Scripts/Scenes/Ride/Scripts/PlayerController.cs +++ b/Assets/Scripts/Scenes/Ride/Scripts/PlayerController.cs @@ -117,7 +117,7 @@ namespace Assets.Scenes.Ride.Scripts //实时计算MaxAp //mainController.ComputeMaxAP(Power, ticks); //实时保存骑行记录 - if (ticks / 60 == 0) + if (ticks % 60 == 0) { mainController.SaveRealTime(); }