fix:静态数据放到gamelocal里

This commit is contained in:
bzx
2026-01-15 11:38:55 +08:00
parent 07fd6e5f5b
commit 214d5fdeb6
3 changed files with 17 additions and 14 deletions

View File

@@ -262,15 +262,14 @@ public class HttpServer : MonoBehaviour
private int GetGameTotalTime()
{
return Mathf.FloorToInt(GameManager.Ins.vistAllTime+60*3); // 举例1 小时(秒)
return Mathf.FloorToInt(GameLocal.Ins.vistAllTime+60*3); // 举例1 小时(秒)
}
private int GetCurrentPlayTime()
{
return GameManager.Ins.GetNowTime();
return GameLocal.Ins.GetNowTime();
}
#endregion
#region Shutdown