1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

perf: 将运行时间计算从秒改为毫秒

修改_physics_process中的runningTime计算方式,乘以1000以毫秒为单位记录时间,提高时间精度
This commit is contained in:
2025-08-29 10:30:20 +08:00
parent c322e3b796
commit cf8368a946
+1 -1
View File
@@ -9,7 +9,7 @@ func _ready():
tree = get_tree()
rootNode = self
func _physics_process(delta):
runningTime += delta
runningTime += delta * 1000
if EntityBase.mobCount() == 0:
UIState.setPanel("MakeFeed")