fix:调整静态数据存储gamelocal

This commit is contained in:
bzx
2026-01-15 13:55:34 +08:00
parent accdca2ff4
commit 275619f2f4
7 changed files with 48 additions and 19 deletions

View File

@@ -262,12 +262,12 @@ public class HttpServer : MonoBehaviour
private int GetGameTotalTime()
{
return Mathf.FloorToInt(GameManager.Ins.vistAllTime); // 举例1 小时(秒)
return Mathf.FloorToInt(GameLocal.Ins.vistAllTime); // 举例1 小时(秒)
}
private int GetCurrentPlayTime()
{
return GameManager.Ins.GetNowTime();
return GameLocal.Ins.GetNowTime();
}